Permalink
Browse files

[bin] Give executables a hashbang and `+x`

  • Loading branch information...
1 parent cf54d15 commit ae766b2abc45c6224979350321d540c0cdd258cd @mmalecki mmalecki committed Dec 28, 2011
Showing with 3 additions and 0 deletions.
  1. +2 −0 bin/docs
  2. +1 −0 bin/server
View
2 bin/docs 100644 → 100755
@@ -1,3 +1,4 @@
+#!/usr/bin/env node
var argv = require("optimist").argv,
path = require("path"),
docs = require("../lib/docs");
@@ -36,3 +37,4 @@ switch (task) {
console.log("* blacksmith serve <folder>");
console.log();
}
+
View
1 bin/server 100644 → 100755
@@ -1,3 +1,4 @@
+#!/usr/bin/env node
var HTTPServer = require('http-server').HTTPServer;
var httpServer = new HTTPServer({root: './public/'});

0 comments on commit ae766b2

Please sign in to comment.