Don't include .ini in build
This commit is contained in:
parent
005b207737
commit
4543bfb837
4
build.sh
4
build.sh
@ -3,6 +3,8 @@
|
|||||||
version=$(git describe --always)
|
version=$(git describe --always)
|
||||||
|
|
||||||
go test ./... || exit 1
|
go test ./... || exit 1
|
||||||
|
|
||||||
|
rm -rf build
|
||||||
mkdir -p build || exit 1
|
mkdir -p build || exit 1
|
||||||
|
|
||||||
for goos in darwin linux freebsd ; do
|
for goos in darwin linux freebsd ; do
|
||||||
@ -13,8 +15,8 @@ for goos in darwin linux freebsd ; do
|
|||||||
export name="syncthing-$goos-$goarch"
|
export name="syncthing-$goos-$goarch"
|
||||||
go build -ldflags "-X main.Version $version" \
|
go build -ldflags "-X main.Version $version" \
|
||||||
&& mkdir -p "$name" \
|
&& mkdir -p "$name" \
|
||||||
|
&& cp syncthing "build/$name" \
|
||||||
&& mv syncthing "$name" \
|
&& mv syncthing "$name" \
|
||||||
&& cp syncthing.ini "$name" \
|
|
||||||
&& tar zcf "$name.tar.gz" "$name" \
|
&& tar zcf "$name.tar.gz" "$name" \
|
||||||
&& rm -r "$name" \
|
&& rm -r "$name" \
|
||||||
&& mv "$name.tar.gz" build
|
&& mv "$name.tar.gz" build
|
||||||
|
|||||||
@ -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
|
|
||||||
Loading…
x
Reference in New Issue
Block a user