This repository was archived by the owner on Aug 17, 2020. It is now read-only.
Improve makefile to prepare for submission of hombrew recipe #121
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This commit contains a fully functional hombrew recipe that build upon the changes to the Makefile build process. As soon as this is merged we can submit a PR to the homebrew-core repository.
The build process now allows for reproducable builds resulting in the same checksums every time the build pipeline is executed. This is achieved by overwriting the timestamps of build targets in zip-files with the timestamp of the latest git commit.
The latest commit hash of the git repository is used to provide a reproducable build identifier.
To allow the standard go install routine to install goad the goad.go file is moved into a separate package, allowing for a main.go as entry point calling the cli in the project root.
These changes facilitate the creation of a recipe for the homebrew package manager.
Also we update the base image within the docker file since we are using a newer version of git to format the date in this new build process. The old base image contained an older version of git.