@@ -44,7 +44,7 @@ if [ "$1" = "tools" ]; then
|
|||||||
elif [ "$1" = "ziggy" ]; then
|
elif [ "$1" = "ziggy" ]; then
|
||||||
export GOARCH="amd64"
|
export GOARCH="amd64"
|
||||||
src="./src/ziggy/ziggy.go"
|
src="./src/ziggy/ziggy.go"
|
||||||
out_dir="./dist/scripts/uosc/bin"
|
out_dir="./src/uosc/bin"
|
||||||
|
|
||||||
if [ ! -d $out_dir ]; then
|
if [ ! -d $out_dir ]; then
|
||||||
mkdir -pv $out_dir
|
mkdir -pv $out_dir
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
# Script to build one of uosc binaries.
|
# Script to build one of uosc binaries.
|
||||||
# Requirements: go, upx (if compressing)
|
# Requirements: go, upx (if compressing)
|
||||||
# Usage: tools/build <name> [-c]
|
# 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)
|
# -c enables binary compression with upx (only needed for builds being released)
|
||||||
|
|
||||||
Function Abort($Message) {
|
Function Abort($Message) {
|
||||||
@@ -76,6 +76,6 @@ else {
|
|||||||
Write-Output "Tool to build one of uosc binaries."
|
Write-Output "Tool to build one of uosc binaries."
|
||||||
Write-Output "Requirements: go, upx (if compressing)"
|
Write-Output "Requirements: go, upx (if compressing)"
|
||||||
Write-Output "Usage: tools/build <name> [-c]"
|
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)"
|
Write-Output "-c enables binary compression (requires upx)"
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user