Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit ae766b2abc45c6224979350321d540c0cdd258cd 1 parent cf54d15
@mmalecki mmalecki authored
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/'});
Please sign in to comment.
Something went wrong with that request. Please try again.