mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-04-19 19:59:13 +03:00
Adjustment in build script
This commit is contained in:
parent
79775cc422
commit
bf68ca13c8
1 changed files with 2 additions and 2 deletions
4
build.sh
Normal file → Executable file
4
build.sh
Normal file → Executable file
|
@ -10,6 +10,7 @@ ln -s $GITHUB_WORKSPACE $PROJECT_ROOT
|
|||
cd $PROJECT_ROOT
|
||||
go get -v ./...
|
||||
go get github.com/GeertJohan/go.rice/rice
|
||||
rice embed-go
|
||||
|
||||
EXT=''
|
||||
|
||||
|
@ -20,9 +21,8 @@ fi
|
|||
if [ -x "./build.sh" ]; then
|
||||
OUTPUT=`./build.sh "${CMD_PATH}"`
|
||||
else
|
||||
rice embed-go
|
||||
go build "${CMD_PATH}"
|
||||
OUTPUT="${PROJECT_NAME}${EXT}"
|
||||
fi
|
||||
|
||||
echo ${OUTPUT}
|
||||
echo ${OUTPUT}
|
||||
|
|
Loading…
Add table
Reference in a new issue