mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-30 07:05:06 +03:00
Build Yggdrasil for each arch
This commit is contained in:
parent
cd346492bd
commit
d130c9b614
1 changed files with 5 additions and 7 deletions
|
@ -29,14 +29,12 @@ then
|
|||
fi
|
||||
|
||||
# Check the prerequisite files are in place
|
||||
(test -f yggdrasil.exe && test -f yggdrasilctl.exe) || (
|
||||
[ "${PKGARCH}" == "x64" ] && GOARCH=amd64 CGO_ENABLED=0 ./build || \
|
||||
[ "${PKGARCH}" == "x86" ] && GOARCH=386 CGO_ENABLED=0 ./build || \
|
||||
(
|
||||
echo "failed to build Yggdrasil"
|
||||
exit 1
|
||||
)
|
||||
)
|
||||
|
||||
# Create the postinstall script
|
||||
cat > config.bat << EOF
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue