File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,17 +18,9 @@ install-gen-deps: ## Install dependencies for code generation
1818 @ (cd $( TEMPDIR) && GO111MODULE=on go get github.com/alvaroloes/enumer@master)
1919
2020 # grab files from github and install them using go install, then remove files again.
21- @mkdir cmd
22- @mkdir cmd/struct-markdown
23- @curl -sSfL -q https://raw.githubusercontent.com/hashicorp/packer/master/cmd/struct-markdown/main.go -o cmd/struct-markdown/main.go
24- @curl -sSfL -q https://raw.githubusercontent.com/hashicorp/packer/master/cmd/struct-markdown/template.go -o cmd/struct-markdown/template.go
25- @go install ./cmd/struct-markdown # in the packer repo
21+ @go install github.com/hashicorp/packer/cmd/struct-markdown@latest # in the packer repo
2622
27- @mkdir cmd/mapstructure-to-hcl2
28- @curl -sSfL -q https://raw.githubusercontent.com/hashicorp/packer/master/cmd/mapstructure-to-hcl2/mapstructure-to-hcl2.go -o cmd/mapstructure-to-hcl2/mapstructure-to-hcl2.go
29- @go install ./cmd/mapstructure-to-hcl2 # in the packer repo
30-
31- @rm -rf cmd
23+ @go install github.com/hashicorp/packer/cmd/mapstructure-to-hcl2@latest # in the packer repo
3224
3325install-lint-deps : # # Install linter dependencies
3426 # Pinning golangci-lint at v1.23.8 as --new-from-rev seems to work properly; the latest 1.24.0 has caused issues with memory consumption
You can’t perform that action at this time.
0 commit comments