Skip to content

Commit

Permalink
build: fix ziggy build on unix
Browse files Browse the repository at this point in the history
ref #744
  • Loading branch information
tomasklaen committed Nov 1, 2023
1 parent b8280b0 commit 88e15ca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tools/build
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions tools/build.ps1
Original file line number Diff line number Diff line change
@@ -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) {
Expand Down Expand Up @@ -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)"
}

0 comments on commit 88e15ca

Please sign in to comment.