Update build scripts

This commit is contained in:
Alexey Khit
2022-08-26 10:09:52 +03:00
parent e6cfd1818b
commit d3adaf05b1
2 changed files with 8 additions and 2 deletions

View File

@@ -1,4 +1,5 @@
@SET GOOS=linux
@SET GOARCH=amd64
cd ..
go build -ldflags "-s -w" -trimpath && upx-3.96 go2rtc
@cd ..
del go2rtc
go build -ldflags "-s -w" -trimpath

View File

@@ -0,0 +1,5 @@
@SET GOOS=darwin
@SET GOARCH=amd64
@cd ..
del go2rtc
go build -ldflags "-s -w" -trimpath