[1.2] 인프라
- houston.sh 리눅스 줄바꿈으로 변경 - make_houston_package.ps1이 houston.sh도 포함하도록 변경
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
nohup /home/opdev/houston -client -logfile > /dev/null &
|
||||
nohup ./houston -client -logfile > /dev/null &
|
||||
|
||||
|
||||
@ -5,13 +5,14 @@ del houston.zip
|
||||
$Env:GOOS="linux"
|
||||
$Env:GOARCH="amd64"
|
||||
|
||||
go get repositories.action2quare.com/ayo/gocommon
|
||||
go mod tidy
|
||||
# go get repositories.action2quare.com/ayo/gocommon
|
||||
# go mod tidy
|
||||
|
||||
go build -ldflags="-s -w" -tags=client .
|
||||
|
||||
cp houston .\replacer\houston
|
||||
cp config.json .\replacer\config.json
|
||||
cp houston.sh .\replacer\houston.sh
|
||||
|
||||
cd replacer
|
||||
go build -ldflags="-s -w" .
|
||||
@ -19,10 +20,12 @@ go build -ldflags="-s -w" .
|
||||
Compress-Archive -Path replacer -DestinationPath houston.zip -Force
|
||||
Compress-Archive -Path config.json -Update -DestinationPath houston.zip
|
||||
Compress-Archive -Path houston -Update -DestinationPath houston.zip
|
||||
Compress-Archive -Path houston.sh -Update -DestinationPath houston.zip
|
||||
|
||||
del houston
|
||||
del config.json
|
||||
del replacer
|
||||
del houston.sh
|
||||
|
||||
mv houston.zip ..\houston.zip
|
||||
cd ..
|
||||
|
||||
Reference in New Issue
Block a user