mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-27 21:55:07 +03:00
Fail build script if building of any target fails
E.g, I had a build error of yggdrasil, but ./build returned exit code 0: + ./build -t -l -linkmode=external Building: yggdrasil github.com/yggdrasil-network/yggdrasil-go/src/yggdrasil /home/user/go/src/github.com/yggdrasil-network/yggdrasil-go/src/yggdrasil/multicast.go:39:9: undefined: net.ListenConfig Building: yggdrasilctl + exit 0
This commit is contained in:
parent
f747f259b3
commit
ebdd968c24
1 changed files with 2 additions and 0 deletions
2
build
2
build
|
@ -1,5 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -ef
|
||||
|
||||
PKGSRC=${PKGSRC:-github.com/yggdrasil-network/yggdrasil-go/src/yggdrasil}
|
||||
PKGNAME=${PKGNAME:-$(sh contrib/semver/name.sh)}
|
||||
PKGVER=${PKGVER:-$(sh contrib/semver/version.sh --bare)}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue