1. Stewart Mackenzie
  2. earlybrew

Commits

OJ Reeves  committed 70e643b

Moved the cap_bootstrap to a scripts folder to reduce pollution in the root. Adjusted the makefile and script contents accordingly so that the paths all worked.

  • Participants
  • Parent commits 99c967b
  • Branches default

Comments (0)

Files changed (4)

File .hgignore

View file
  • Ignore whitespace
 ~$
 \.orig$
 \.dump$
+\.swp$

File Makefile

View file
  • Ignore whitespace
 	rm -rf rel/earlybrew
 
 bootstrap: deps
-	@./cap_bootstrap.sh
+	@./scripts/cap_bootstrap.sh

File cap_bootstrap.sh

  • Ignore whitespace
-#!/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

File scripts/cap_bootstrap.sh

View file
  • Ignore whitespace
+#!/bin/bash
+
+SCRIPT=$(readlink -f $0)
+SCRIPTPATH=`dirname $SCRIPT`/../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
+