Permalink
Browse files

Fixed code compilation

  • Loading branch information...
1 parent 3dfb74a commit 88b725c6ff31526d5265a52c474d2d41b8004214 @samalba samalba committed Jul 20, 2012
Showing with 6 additions and 4 deletions.
  1. +6 −4 builder
View
10 builder
@@ -7,13 +7,15 @@ if [ ! -d ~/opa ] ; then
mkdir ~/opa
wget $BINURL -O install
sh install -- ~/opa
+ # Install node dependencies
+ npm install mongodb formidable nodemailer imap
fi
# Runscript
-mv run ~/
+cp run ~/
-# Install node dependencies
-npm install mongodb formidable nodemailer imap
+# Install the code
+cp opa.opa ~/
# Compiling the OPA app
-~/opa/bin/opa app.opa -o ~/app.js
+cd ~ && ./opa/bin/opa app.opa -o app.js

0 comments on commit 88b725c

Please sign in to comment.