From 4543bfb837da12a7fd664c61ce75eb85ac96ec58 Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Mon, 30 Dec 2013 10:04:51 -0500 Subject: [PATCH] Don't include .ini in build --- build.sh | 4 +++- syncthing.ini | 11 ----------- 2 files changed, 3 insertions(+), 12 deletions(-) delete mode 100644 syncthing.ini diff --git a/build.sh b/build.sh index 6e7b8c9c..a1c208ef 100755 --- a/build.sh +++ b/build.sh @@ -3,6 +3,8 @@ version=$(git describe --always) go test ./... || exit 1 + +rm -rf build mkdir -p build || exit 1 for goos in darwin linux freebsd ; do @@ -13,8 +15,8 @@ for goos in darwin linux freebsd ; do export name="syncthing-$goos-$goarch" go build -ldflags "-X main.Version $version" \ && mkdir -p "$name" \ + && cp syncthing "build/$name" \ && mv syncthing "$name" \ - && cp syncthing.ini "$name" \ && tar zcf "$name.tar.gz" "$name" \ && rm -r "$name" \ && mv "$name.tar.gz" build diff --git a/syncthing.ini b/syncthing.ini deleted file mode 100644 index d7db21ef..00000000 --- a/syncthing.ini +++ /dev/null @@ -1,11 +0,0 @@ -[repository] -dir = /Users/jb/Synced - -# The nodes section lists the nodes that make up the cluster. The format is -# = -# The special address "dynamic" means that outbound connections will not be -# attempted, but inbound connections are accepted. - -[nodes] -ITZXTZ7A32DWV3NLNR5W4M3CHVBW56NA = 172.16.32.1:22000 192.23.34.56:22000 -CUGAE43Y5N64CRJU26YFH6MTWPSBLSUL = dynamic