Permalink
Browse files

add profile support

  • Loading branch information...
1 parent 02eaafb commit 5a68743374a73cd96dbc50ad80d04fd37dfbeb6f @ddollar ddollar committed Jun 7, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 bin/compile
View
@@ -172,3 +172,7 @@ echo "-----> Installing dependencies with npm"
run_npm "install --production"
run_npm "rebuild"
echo "Dependencies installed" | indent
+
+echo "-----> Setting up .profile"
+mkdir -p $BUILD_DIR/.profile.d
+echo "PATH=\"/app/bin:/app/node_modules/.bin:$PATH\"" > $BUILD_DIR/.profile.d/nodejs.sh

0 comments on commit 5a68743

Please sign in to comment.