Browse Source

Don't include .ini in build

Jakob Borg 12 years ago
parent
commit
4543bfb837
2 changed files with 3 additions and 12 deletions
  1. 3 1
      build.sh
  2. 0 11
      syncthing.ini

+ 3 - 1
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

+ 0 - 11
syncthing.ini

@@ -1,11 +0,0 @@
-[repository]
-dir = /Users/jb/Synced
-
-# The nodes section lists the nodes that make up the cluster. The format is
-# <certificate id> = <space separated list of addresses>
-# 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