-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove some unused stuff from the devtools makefile (#2136)
* Remove the line that sets UNAME_M a second time. * Remove a bunch of unused variables from the devtools Makefile. * Move the setting of GO and GOPATH into the main makefile (from devtools). Allow for there not to be a commit (not in git maybe?). Only get the branch if needed. Allow GOLANGCI_LINT to be provided as an env var and get rid of the use of wildcard for it because that breaks if there's a space or paren in the path. Move setting of CMTVERSION SUPPORTED_GO_MAJOR_VERSION SUPPORTED_GO_MINOR_VERSIO GO_MAJOR_VERSION and GO_MINOR_VERSION closer to where they're used. Use a second tab in a couple places where it was tab+spaces. Make UNAME_S and UNAME_M resolve immediately rather than each time they're looked at. * In proto-check-breaking and proto-check-breaking-third-party, wrap the urls in quotes because the # is almost certainly commenting out the rest of the commands. * Fix proto-gen which I broke recently when I tried to replace the raw go with the GO var. * In the sims.mk: remove the shebang line since it's not meant to be a stand-alone makefile. Remove setting of GO and BINDIR since that's already being done in the main Makefile. Remove a chunk of unneeded code (db_tag is always empty now) and clarify the comment above it. * Change the statement printed at the start of proto-check-breaking-third-party to differentiate it from proto-check-breaking. * Simplify the part where we set the version from the branch name. * Better handling/setting of GOLANGCI_LINT. * Add changelog entry. * When checking if we have a working go executable, do not suppress stderr since that should provide useful info when needed.
- Loading branch information
1 parent
8241ae4
commit a1dc3b9
Showing
4 changed files
with
52 additions
and
84 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
* Clean up some unused stuff from our makefiles [PR 2136](https://github.com/provenance-io/provenance/pull/2136). |
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
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
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