diff --git a/build.sh b/build.sh index b5596ead0..1e101c2e2 100755 --- a/build.sh +++ b/build.sh @@ -126,6 +126,10 @@ case "$1" in godep go install $* -ldflags "$ldflags" ./cmd/... ;; + clean) + rm -rf bin Godeps/_workspace/pkg $GOPATH/pkg/*/github.com/syncthing + ;; + race) build -race ;;