Commits

OJ Reeves  committed 99c967b

Copied the bootstrap.sh from the capinerlang folder and put it in the main root folder for earlybrew, renamed it cap_bootstrap.sh.
Modified the file so that it pulls cappuccino to the deps folder in the appropriate spot.
Modified it so that it pulls from the git repo for cappuccino if the files are already there, otherwise it clones the repo.

  • Participants
  • Parent commits 6c61f4d

Comments (0)

Files changed (2)

 	rm -rf rel/earlybrew
 
 bootstrap: deps
-	@./deps/capinerlang/bootstrap.sh
+	@./cap_bootstrap.sh

File cap_bootstrap.sh

+#!/bin/bash
+
+SCRIPTPATH=./deps/capinerlang
+cd $SCRIPTPATH
+CAPP_BUILD=$PWD/cappuccino-dist
+$(rm -fr cappuccino-dist)
+if [ -d cappuccino/.git ]; then
+  cd cappuccino
+  git pull
+  cd ..
+else
+  git clone http://github.com/280north/cappuccino.git
+fi &&
+cd cappuccino &&
+./bootstrap.sh &&
+jake install &&
+jake release &&
+jake debug