Skip to content

Commit

Permalink
only do it if we have a package.json file :)
Browse files Browse the repository at this point in the history
  • Loading branch information
jiaaro committed Mar 14, 2012
1 parent 568fcab commit 0af38d1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/compile
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,6 @@ for dir in $VIRTUALENV_DIRS; do
cp -R $dir $CACHE_DIR/
done

source $BIN_DIR/compilenodejs $1 $2
if [ -f $1/package.json ]; then
source $BIN_DIR/compilenodejs $1 $2
fi

0 comments on commit 0af38d1

Please sign in to comment.