Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 15 lines (11 sloc) 597 Bytes
#!/bin/bash
cd cli/venom
for DIST in `go tool dist list | grep -v '^android/' | grep -v 'mips' | grep -v 'riscv64' | grep -v 'ppc64' | grep -v 's390x' | grep -v '^nacl/' | grep -v '^plan9/' | grep -v '^darwin/arm' | grep -v '^js/wasm'`; do
GOOS=`echo ${DIST} | cut -d / -f 1`
GOARCH=`echo ${DIST} | cut -d / -f 2`
architecture="${GOOS}-${GOARCH}"
echo "Building ${architecture} ${path}"
export GOOS=$GOOS
export GOARCH=$GOARCH
CGO_ENABLED=0 go build -a -installsuffix cgo -ldflags "-X github.com/ovh/venom.Version=${GIT_DESCRIBE}" -o bin/venom.${architecture}
done
You can’t perform that action at this time.