Skip to content

Instantly share code, notes, and snippets.

@adamrneary
Last active February 23, 2016 22:33
Show Gist options
  • Save adamrneary/e1a25b3721d5c38b7f24 to your computer and use it in GitHub Desktop.
Save adamrneary/e1a25b3721d5c38b7f24 to your computer and use it in GitHub Desktop.
#!/bin/bash -x
mkdir -p $GOPATH/src/github.com/parsable
cd $GOPATH/src/github.com/parsable
if [ ! -d "mothership" ]; then
git clone [email protected]:parsable/mothership.git
fi
cd mothership
# If we specified a mothership version to test against, grab that version
if [ -n "$MOTHERSHIP_VERSION" ]; then
git fetch $MOTHERSHIP_VERSION
git checkout $MOTHERSHIP_VERSION
fi;
git pull
./dependencies.sh
make init
make run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment