#DRUD CLI
mkdir -p ~/goworkspace/{bin,src,pkg}
mkdir ~/goworkspace/src/github.com/drud
export GOPATH=$HOME/goworkspace
export PATH=$PATH:$GOPATH/bin
mkdir -p $GOPATH/src/github.com/drud
cd $GOPATH/src/github.com/drud && git clone [email protected]:drud/bootstrap.git
cd bootstrap && glide install
make osxbin
You can build the binary for osx by running
make osxbin
And for linux with
make linuxbin
To build for local testing you should use.
make canary
This will create a drud/drudintegration container tagged with the current branch. You can then run tests against a working cluster by running the following:
docker run -v /Users/beeradb/.drud-sanctuary-token:/root/.drud-sanctuary-token -e "GITHUB_TOKEN=$GITHUB_TOKEN" -e CLUSTER_DOMAIN=unsalted.pw -e DRUD_CLI_INT_NUM=2 -it drud/drudintegration:glide