Skip to content

Instantly share code, notes, and snippets.

@PatrickLang
Last active December 10, 2016 01:54
Show Gist options
  • Save PatrickLang/78890badc499de69608f4b2a03c6b827 to your computer and use it in GitHub Desktop.
Save PatrickLang/78890badc499de69608f4b2a03c6b827 to your computer and use it in GitHub Desktop.
Steps for building my fork of Packer

From hashicorp/packer#2576 (comment)

cd ~/Source/go
$ENV:GOPATH=$(pwd)
go get github.com/mitchellh/packer
cd src\github.com\mitchellh\packer
git remote add hyperv https://github.com/patricklang/packer
git fetch hyperv HyperV
git checkout HyperV
go build -o bin/packer.exe .

Running it

& .\bin\packer.exe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment