mirror of
https://github.com/AlexxIT/go2rtc.git
synced 2025-09-26 20:31:11 +08:00
Update build scripts
This commit is contained in:
@@ -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
|
5
scripts/build_mac_amd64.cmd
Normal file
5
scripts/build_mac_amd64.cmd
Normal file
@@ -0,0 +1,5 @@
|
||||
@SET GOOS=darwin
|
||||
@SET GOARCH=amd64
|
||||
@cd ..
|
||||
del go2rtc
|
||||
go build -ldflags "-s -w" -trimpath
|
Reference in New Issue
Block a user