mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-08 22:31:04 +00:00
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)
|
||||
|
||||
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
|
||||
|
@ -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…
Reference in New Issue
Block a user