packer-cn/build.sh

11 lines
260 B
Bash
Executable File

#!/bin/sh -eux
glide install -v
export CGO_ENABLED=0
export GOARCH=amd64
mkdir -p bin
GOOS=darwin go build -o bin/packer-builder-vsphere.macos
GOOS=linux go build -o bin/packer-builder-vsphere.linux
GOOS=windows go build -o bin/packer-builder-vsphere.exe