Skip to content
Browse files

Add helper.js to install and make app.js standalone runnable

  • Loading branch information...
1 parent d558482 commit 92d8ea92508b2039b797f56ddbe1d4072f02c181 Scott McWhirter committed Mar 7, 2010
Showing with 2 additions and 0 deletions.
  1. +1 −0 Makefile
  2. +1 −0 app.js
View
1 Makefile
@@ -57,6 +57,7 @@ clean_libs:
install: build install_env install_node install_amqp
$(CP) app.js $(PREFIX)/app.js
+ $(CP) helper.js $(PREFIX)/helper.js
$(PERL) -pi -e 's{^#!.+$$}{#!$(PREFIX)/local/bin/node}' $(PREFIX)/app.js
install_env:
View
1 app.js 100644 → 100755
@@ -1,3 +1,4 @@
+#!/usr/bin/env node
// Smart Update, a Node.js AMQP broker that updates or creates a GIT repo
// Each host will generate a new message to the 'smart-scan-fs-rec' queue

0 comments on commit 92d8ea9

Please sign in to comment.
Something went wrong with that request. Please try again.