# Install golang
brew install go
mkdir $HOME/go
export GOPATH=$HOME/go
# Checkout packer builder
mkdir -p $HOME/go/src/github.com/lox
git clone https://github.com/lox/packer-builder-veertu-anka.git $HOME/go/src/github.com/lox/packer-builder-veertu-anka
cd $HOME/go/src/github.com/lox/packer-builder-veertu-anka
# Build a base image to work with
anka create-disk --size 20G --app /Applications/Install\ macOS\ Sierra.app
anka create --image-id 9b85cd17-5bcf-11e7-a7df-a45e60d8d009 macos-10.12.3-base
# Run the tests
PACKER_ANKA_DISK_BASE=macos-10.12.3-base go test -v ./builder/anka