From de0ba3b4e53b11eb2519b2a9001315e3429f2827 Mon Sep 17 00:00:00 2001 From: Todd Gruben Date: Mon, 3 Aug 2015 11:51:52 -0500 Subject: [PATCH] removed out of date config file --- build.sh | 75 -------------------------------------------------------- 1 file changed, 75 deletions(-) delete mode 100755 build.sh diff --git a/build.sh b/build.sh deleted file mode 100755 index e1beebd09..000000000 --- a/build.sh +++ /dev/null @@ -1,75 +0,0 @@ -PWD=`pwd` -NAME=${1:-pilosa} -export GOPATH=$PWD/$NAME -read -p "This will create a new pilosa environment at $GOPATH (DELETING IF NECESSARY!)! Continue? (y/n) " -n 1 -r -if [[ ! $REPLY =~ ^[Yy]$ ]] -then - echo - echo "Aborting!" - exit 1 -fi -echo Building environment \"$NAME\" at $GOPATH... - -rm -rf $GOPATH -mkdir -p $GOPATH/src -git clone git@ops:nuevo-pilosa.git $GOPATH/src/pilosa -cd $GOPATH -ln -s src/pilosa pilosa - -go get github.com/vube/depman -./bin/depman -path=pilosa install - -hg clone -u release https://code.google.com/p/gocircuit src/circuit_src -cp -r src/circuit_src/src/circuit src - -export GOCIRCUIT=$GOPATH/src/circuit_src -export ZKINCLUDE=$GOCIRCUIT/misc/starter-kit-darwin/zookeeper/include -export ZKLIB=$GOCIRCUIT/misc/starter-kit-darwin/zookeeper/lib - -export CGO_CFLAGS="-I$ZKINCLUDE" -export CGO_LDFLAGS="$ZKLIB/libzookeeper_mt.a" - -go install circuit/cmd/... -go install pilosa/... - -cat << EOF > app.config -{ - "Zookeeper": { - "Workers": ["localhost:2181"], - "Dir": "/circuit/pilosa" - }, - "Deploy": { - "Dir": "$GOPATH", - "Worker": "pilosa-worker" - }, - "Build": { - "Host": "localhost", - "Jail": "{{ \`HOME\` | env }}/.pilosa/build", - "ZookeeperInclude": "$ZKINCLUDE", - "ZookeeperLib": "$ZKLIB", - "Tool": "$GOPATH/bin/4build", - "PrefixPath": "", - - "AppRepo": "{rsync}$GOPATH/src/pilosa", - "AppSrc": "$GOPATH/src/pilosa", - - "GoRepo": "{rsync}{{ \`GOROOT\` | env }}", - "RebuildGo": false, - - "CircuitRepo": "{rsync}$GOCIRCUIT", - "CircuitSrc": "/", - - "WorkerPkg": "pilosa/cmd/pilosa-cruncher", - "CmdPkgs": ["pilosa/cmd/pilosa-spawn"], - "ShipDir": "{{ \`HOME\` | env }}/.pilosa/ship" - } -} -EOF - -cat << EOF > activate -export CIR=app.config -export GOPATH=$GOPATH -export PATH=$GOPATH/bin:\$PATH -EOF - -echo Done building environment. Run \". activate\" to set environment variables.