mirror of
https://github.com/AlexxIT/go2rtc.git
synced 2025-11-02 04:32:34 +08:00
Update build scripts
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
@SET GOOS=linux
|
@SET GOOS=linux
|
||||||
@SET GOARCH=amd64
|
@SET GOARCH=amd64
|
||||||
cd ..
|
@cd ..
|
||||||
go build -ldflags "-s -w" -trimpath && upx-3.96 go2rtc
|
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