2015-12-22 10:10:07 +00:00
|
|
|
#!/bin/sh
|
|
|
|
cd `dirname $0`
|
2015-12-23 00:29:52 +01:00
|
|
|
if [ -z "$UTILITIES" ]; then
|
|
|
|
UTILITIES=`pwd`
|
|
|
|
fi
|
2015-12-22 10:10:07 +00:00
|
|
|
git clean -x -d -f $UTILITIES
|
|
|
|
echo -n Building development tools...
|
|
|
|
GOBIN="$UTILITIES/bin" GOPATH="$UTILITIES/third_party:$UTILITIES" go get -d jehanne/cmd/...
|
|
|
|
GOBIN="$UTILITIES/bin" GOPATH="$UTILITIES/third_party:$UTILITIES" go install jehanne/cmd/...
|
|
|
|
GOBIN="$UTILITIES/bin" GOPATH="$UTILITIES/third_party:$UTILITIES" go install github.com/lionkov/ninep/srv/examples/ufs
|
|
|
|
|
|
|
|
echo " DONE."
|