Don't include .ini in build

This commit is contained in:
Jakob Borg 2013-12-30 10:04:51 -05:00
parent 005b207737
commit 4543bfb837
2 changed files with 3 additions and 12 deletions

View File

@ -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

View File

@ -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