-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Makefile: replace enumer upstream with dmarkham's (#13107)
Since the enumer implementation we used hadn't been updated for 5+ years, this didn't work with recent linux/go versions, and enumer crashed while attempting to parse/analyse the source files. There's another alternative on Github, forked from the one we used, which seems more maintained now, and does produce the expected files in Packer.
- Loading branch information
1 parent
ae367bc
commit 4a7f5f3
Showing
4 changed files
with
125 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,7 +50,7 @@ install-build-deps: ## Install dependencies for bin build | |
@go install github.com/mitchellh/[email protected] | ||
|
||
install-gen-deps: ## Install dependencies for code generation | ||
@GO111MODULE=on go install github.com/alvaroloes/enumer@master | ||
@GO111MODULE=on go install github.com/dmarkham/enumer@master | ||
@go install github.com/hashicorp/packer-plugin-sdk/cmd/packer-sdc@latest | ||
|
||
install-lint-deps: ## Install linter dependencies | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.