mirror of
https://github.com/Mahdi-zarei/nekoray.git
synced 2025-12-19 13:50:12 +08:00
Update build_go.sh
This commit is contained in:
parent
0a39dee87f
commit
334607bc6f
@ -25,6 +25,9 @@ popd
|
|||||||
|
|
||||||
#### Go: core ####
|
#### Go: core ####
|
||||||
pushd core/server
|
pushd core/server
|
||||||
|
pushd gen
|
||||||
|
update_proto.sh
|
||||||
|
popd
|
||||||
VERSION_SINGBOX=$(go list -m -f '{{.Version}}' github.com/sagernet/sing-box)
|
VERSION_SINGBOX=$(go list -m -f '{{.Version}}' github.com/sagernet/sing-box)
|
||||||
go build -v -o $DEST -trimpath -ldflags "-w -s -X 'github.com/sagernet/sing-box/constant.Version=${VERSION_SINGBOX}'" -tags "with_clash_api,with_gvisor,with_quic,with_wireguard,with_utls,with_ech,with_dhcp"
|
go build -v -o $DEST -trimpath -ldflags "-w -s -X 'github.com/sagernet/sing-box/constant.Version=${VERSION_SINGBOX}'" -tags "with_clash_api,with_gvisor,with_quic,with_wireguard,with_utls,with_ech,with_dhcp"
|
||||||
popd
|
popd
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user