Browse Source

Add ./build.sh clean

Jakob Borg 11 years ago
parent
commit
ab952e6103
1 changed files with 4 additions and 0 deletions
  1. 4 0
      build.sh

+ 4 - 0
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
 		;;