build: fix ziggy build on unix

ref #744
This commit is contained in:
tomasklaen
2023-11-01 18:11:31 +01:00
parent b8280b0004
commit 88e15cac57
2 changed files with 3 additions and 3 deletions

View File

@@ -44,7 +44,7 @@ if [ "$1" = "tools" ]; then
elif [ "$1" = "ziggy" ]; then
export GOARCH="amd64"
src="./src/ziggy/ziggy.go"
out_dir="./dist/scripts/uosc/bin"
out_dir="./src/uosc/bin"
if [ ! -d $out_dir ]; then
mkdir -pv $out_dir

View File

@@ -1,7 +1,7 @@
# Script to build one of uosc binaries.
# Requirements: go, upx (if compressing)
# Usage: tools/build <name> [-c]
# <name> can be: intl, ziggy
# <name> can be: tools, ziggy
# -c enables binary compression with upx (only needed for builds being released)
Function Abort($Message) {
@@ -76,6 +76,6 @@ else {
Write-Output "Tool to build one of uosc binaries."
Write-Output "Requirements: go, upx (if compressing)"
Write-Output "Usage: tools/build <name> [-c]"
Write-Output "<name> can be: intl, ziggy"
Write-Output "<name> can be: tools, ziggy"
Write-Output "-c enables binary compression (requires upx)"
}