summaryrefslogtreecommitdiffstats
path: root/build.sh
diff options
context:
space:
mode:
authorJakob Borg <jakob@nym.se>2014-04-08 15:14:36 +0200
committerJakob Borg <jakob@nym.se>2014-04-08 15:14:36 +0200
commitbc5ff6e1b63c336b302907dd590c332953051891 (patch)
tree412135066fc49fc72e368ab8b04927ab69fbb39b /build.sh
parent3b3c0c5950f2779af1d71298ea3bea333e495ebc (diff)
Build command to update deps
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/build.sh b/build.sh
index bb171b6282..2445839bc8 100755
--- a/build.sh
+++ b/build.sh
@@ -56,6 +56,10 @@ zipDist() {
rm -rf "$name"
}
+deps() {
+ godep save ./cmd/syncthing ./cmd/assets ./cmd/stcli ./discover/cmd/discosrv
+}
+
case "$1" in
"")
build
@@ -126,6 +130,10 @@ case "$1" in
done
;;
+ deps)
+ deps
+ ;;
+
*)
echo "Unknown build parameter $1"
;;