mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-09 14:50:56 +00:00
Always build discosrv by default
This commit is contained in:
parent
544fea51b0
commit
3152152ed9
3
build.sh
3
build.sh
@ -22,6 +22,7 @@ check() {
|
|||||||
build() {
|
build() {
|
||||||
check
|
check
|
||||||
godep go build $* -ldflags "$ldflags" ./cmd/syncthing
|
godep go build $* -ldflags "$ldflags" ./cmd/syncthing
|
||||||
|
godep go build $* -ldflags "$ldflags" ./cmd/discosrv
|
||||||
}
|
}
|
||||||
|
|
||||||
assets() {
|
assets() {
|
||||||
@ -141,8 +142,6 @@ case "$1" in
|
|||||||
test || exit 1
|
test || exit 1
|
||||||
assets
|
assets
|
||||||
|
|
||||||
godep go build ./cmd/discosrv
|
|
||||||
|
|
||||||
for os in darwin-amd64 linux-386 linux-amd64 freebsd-amd64 windows-amd64 windows-386 ; do
|
for os in darwin-amd64 linux-386 linux-amd64 freebsd-amd64 windows-amd64 windows-386 ; do
|
||||||
export GOOS=${os%-*}
|
export GOOS=${os%-*}
|
||||||
export GOARCH=${os#*-}
|
export GOARCH=${os#*-}
|
||||||
|
Loading…
Reference in New Issue
Block a user