Compare commits
2 Commits
ca7a3eeb97
...
353d1bb781
Author | SHA1 | Date | |
---|---|---|---|
353d1bb781 | |||
4337c219da |
@ -14,7 +14,7 @@ function usage() {
|
||||
msgln "USAGE:"
|
||||
#msgln " ${prog} <program-name> <program-version> <os>/<platform>..."
|
||||
msgln " ${prog} <os>/<platform>..."
|
||||
msgln " ${prog} --dev Build the local exec"
|
||||
msgln " ${prog} --local Build the local exec"
|
||||
msgln " ${prog} --init Create the resource file in the current directory"
|
||||
msgln
|
||||
if [ -r "${RESOURCE_FILE}" ]; then
|
||||
@ -197,7 +197,7 @@ eot
|
||||
## -- MAIN -- ##
|
||||
createVersionSource
|
||||
|
||||
if [ "${1}" == "--dev" ]; then
|
||||
if [ "${1}" == "--local" ]; then
|
||||
buildLocal
|
||||
exit
|
||||
fi
|
||||
|
@ -9,4 +9,4 @@ PKG_BRANCH=main
|
||||
for pkg in $(grep -o "${PKG_PATTERN}" go.mod); do
|
||||
go get "${pkg}@${PKG_BRANCH}"
|
||||
done
|
||||
go build
|
||||
./build.bash --local
|
||||
|
Loading…
Reference in New Issue
Block a user