2017-07-29 20:56:10 -04:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
set -eux
|
2017-05-14 17:25:50 -04:00
|
|
|
|
|
|
|
export CGO_ENABLED=0
|
|
|
|
export GOARCH=amd64
|
|
|
|
mkdir -p bin
|
2017-07-29 21:06:50 -04:00
|
|
|
rm -f bin/*
|
2017-05-14 17:25:50 -04:00
|
|
|
|
2018-01-24 13:01:04 -05:00
|
|
|
GOOS=darwin go build -o bin/packer-builder-vsphere-iso.macos ./cmd/iso
|
|
|
|
GOOS=linux go build -o bin/packer-builder-vsphere-iso.linux ./cmd/iso
|
|
|
|
GOOS=windows go build -o bin/packer-builder-vsphere-iso.exe ./cmd/iso
|
2018-02-17 21:30:42 -05:00
|
|
|
|
|
|
|
GOOS=darwin go build -o bin/packer-builder-vsphere-clone.macos ./cmd/clone
|
|
|
|
GOOS=linux go build -o bin/packer-builder-vsphere-clone.linux ./cmd/clone
|
|
|
|
GOOS=windows go build -o bin/packer-builder-vsphere-clone.exe ./cmd/clone
|