mirror of https://github.com/cbeuw/Cloak
Compile server for windows as well.
This commit is contained in:
parent
fa941acbd6
commit
98462544c7
|
|
@ -27,11 +27,11 @@ CGO_ENABLED=0 GOOS="linux" GOARCH="mipsle" GOMIPS="softfloat" go build -ldflags
|
||||||
mv ck-client-* ../../release
|
mv ck-client-* ../../release
|
||||||
popd
|
popd
|
||||||
|
|
||||||
os="linux"
|
os="windows linux"
|
||||||
arch="amd64 386 arm arm64"
|
arch="amd64 386 arm arm64"
|
||||||
pushd cmd/ck-server
|
pushd cmd/ck-server
|
||||||
CGO_ENABLED=0 gox -ldflags "-X main.version=${v}" -os="$os" -arch="$arch" -osarch="$osarch" -output="$output"
|
CGO_ENABLED=0 gox -ldflags "-X main.version=${v}" -os="$os" -arch="$arch" -osarch="$osarch" -output="$output"
|
||||||
mv ck-server-* ../../release
|
mv ck-server-* ../../release
|
||||||
popd
|
popd
|
||||||
|
|
||||||
sha256sum release/*
|
sha256sum release/*
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue