Skip to content

Commit

Permalink
[bin] Give executables a hashbang and +x
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalecki committed Dec 28, 2011
1 parent cf54d15 commit ae766b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/docs
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env node
var argv = require("optimist").argv,
path = require("path"),
docs = require("../lib/docs");
Expand Down Expand Up @@ -36,3 +37,4 @@ switch (task) {
console.log("* blacksmith serve <folder>");
console.log();
}

1 change: 1 addition & 0 deletions bin/server
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env node
var HTTPServer = require('http-server').HTTPServer;

var httpServer = new HTTPServer({root: './public/'});
Expand Down

0 comments on commit ae766b2

Please sign in to comment.