From ab952e610336815c4628934c12a3e1555e326b06 Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Mon, 11 Aug 2014 11:54:48 +0200 Subject: [PATCH] Add ./build.sh clean --- build.sh | 4 ++++ 1 file changed, 4 insertions(+) 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 ;;