5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-11-26 16:31:41 +00:00

Merge pull request #324 from mikhailnov/develop

Fail build script if building of any target fails
This commit is contained in:
Neil Alexander 2019-02-05 12:25:18 +00:00 committed by GitHub
commit 4ed10bc528
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
build
View File

@ -1,5 +1,7 @@
#!/bin/sh #!/bin/sh
set -ef
PKGSRC=${PKGSRC:-github.com/yggdrasil-network/yggdrasil-go/src/yggdrasil} PKGSRC=${PKGSRC:-github.com/yggdrasil-network/yggdrasil-go/src/yggdrasil}
PKGNAME=${PKGNAME:-$(sh contrib/semver/name.sh)} PKGNAME=${PKGNAME:-$(sh contrib/semver/name.sh)}
PKGVER=${PKGVER:-$(sh contrib/semver/version.sh --bare)} PKGVER=${PKGVER:-$(sh contrib/semver/version.sh --bare)}