maingate console은 이제 빌드 안함
This commit is contained in:
@ -4,24 +4,6 @@ $CurBranch = git branch --show-current
|
|||||||
|
|
||||||
Remove-Item maingate.zip -Force -Recurse -ErrorAction SilentlyContinue
|
Remove-Item maingate.zip -Force -Recurse -ErrorAction SilentlyContinue
|
||||||
|
|
||||||
cd ..
|
|
||||||
cd maingate-console
|
|
||||||
|
|
||||||
|
|
||||||
git switch $CurBranch
|
|
||||||
git pull
|
|
||||||
npm install
|
|
||||||
npm run build
|
|
||||||
|
|
||||||
Remove-Item console -Force -Recurse -ErrorAction SilentlyContinue
|
|
||||||
Copy-Item build console -Recurse
|
|
||||||
|
|
||||||
Compress-Archive -Path console -DestinationPath ..\maingate\maingate.zip -Force
|
|
||||||
Remove-Item console -Force -Recurse
|
|
||||||
|
|
||||||
cd ..
|
|
||||||
cd maingate
|
|
||||||
|
|
||||||
$Env:GOOS="linux"
|
$Env:GOOS="linux"
|
||||||
$Env:GOARCH="amd64"
|
$Env:GOARCH="amd64"
|
||||||
go build -ldflags="-s -w" .
|
go build -ldflags="-s -w" .
|
||||||
|
|||||||
Reference in New Issue
Block a user