[1.2] 인프라

- houston.sh 리눅스 줄바꿈으로 변경
- make_houston_package.ps1이 houston.sh도 포함하도록 변경
This commit is contained in:
2025-06-09 12:08:29 +09:00
parent 0ed48e0de7
commit 965d6fa5b9
2 changed files with 6 additions and 3 deletions

View File

@ -1,4 +1,4 @@
#!/bin/sh
nohup /home/opdev/houston -client -logfile > /dev/null &
nohup ./houston -client -logfile > /dev/null &

View File

@ -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 ..