Comparing version 0.1.8 to 0.1.9
@@ -50,7 +50,7 @@ var path = require('path'); | ||
if(args[0].length > 1){ | ||
if(args.length && args[0].length > 1){ | ||
// site name given | ||
fs.mkdir(args[0], function(err){ | ||
if(!err) { | ||
console.log("Created " + args[0] + "/"); | ||
console.log("Setting up Punch in " + args[0] + "."); | ||
setup_site(args[0]); | ||
@@ -62,2 +62,3 @@ } | ||
} else { | ||
console.log("Setting up Punch in current directory.") | ||
setup_site("."); | ||
@@ -121,3 +122,3 @@ } | ||
console.log(' generate - generate HTML pages. (shortcut `punch g`)'); | ||
console.log(' server - start the development server. (shortcut `punch s`)'); | ||
console.log(' server - start the development server. (shortcut `punch s [PORT]`)'); | ||
console.log(' help - show help. (shortcut `punch h`)\n'); | ||
@@ -124,0 +125,0 @@ console.log('For more information about Punch visit: http://laktek.github.com/punch'); |
@@ -5,3 +5,3 @@ { | ||
, "keywords": ["static", "sites", "mustache", "json", "markdown"] | ||
, "version": "0.1.8" | ||
, "version": "0.1.9" | ||
, "homepage": "https://github.com/laktek/punch" | ||
@@ -8,0 +8,0 @@ , "author": "Lakshan Perera <lakshan@web2media.net> (http://laktek.com)" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
114991
2917