Commits

Stewart Mackenzie committed 09c828b

mac friendly - untested on linux

Comments (0)

Files changed (2)

cappuccino/bootstrap.sh

 #!/bin/bash
 
-SCRIPT=$(readlink -f $0)
-SCRIPTPATH=`dirname $SCRIPT`
+#SCRIPT=$(readlink -f $0)
+#SCRIPTPATH=`dirname $SCRIPT`
+ROOTSCRIPTPATH=$(pwd -P $0)
+CAP=cappuccino
+SCRIPTPATH=$ROOTSCRIPTPATH/$CAP
 cd $SCRIPTPATH
-CAP=cappuccino
 export CAPP_BUILD=$SCRIPTPATH/$CAP-dist
 CAPP_CLONE=$SCRIPTPATH/$CAP
 NARWHAL_PATH=$SCRIPTPATH/narwhal
 export PATH=$PATH:$NARWHAL_PATH/bin
 source $NARWHAL_PATH/bin/activate
 cd $SCRIPTPATH/$CAP
-jake install &&
 jake release &&
-jake debug
+jake debug &&
+jake install
 
 $(rm -fr $COFFEEMACHINE)
 $NEWWEBMACHINE coffeemachine apps &&
-capp gen $CAPPGEN -l &&
+capp gen -t Application $CAPPGEN -l &&
 $(mv $CAPPGEN/* $WWW)
 $(cp -fr $TEMPLATEDIR/* $COFFEEMACHINE/)
 $(rm -fr $CAPPGEN $COFFEEMACHINE/deps $COFFEEMACHINE/README $COFFEEMACHINE/rebar $COFFEEMACHINE/start.sh)
-
-