-
Notifications
You must be signed in to change notification settings - Fork 256
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: deterministic compiled mainfile (#348)
* fix: determanistic compiled mainfile sort template data so resulting mainfile is consistantly reproducible, which is important to leverage build cache and results in a consistent build id on output (given identical build parameters, e.g. ldflags, output file name, etc.) Result of `mage -compile ./mage_static && go tool buildid ./mage_static` should now always be identical on repeated invocation. Results in a probably imperceptible build time quickening, but solves a minor peave of mine, and adds a test as protection from regression :) * fix: poorly spelled test Co-authored-by: Nate Finch <nate.finch@gmail.com> * Update parse/parse.go got caught out not using vim's spellcheck Co-authored-by: Paul Burlumi <paul@burlumi.com> * Update mage/main.go got caught out not using vim's spellcheck Co-authored-by: Paul Burlumi <paul@burlumi.com> * fix spelling Co-authored-by: Paul Burlumi <paul@burlumi.com> Co-authored-by: Nate Finch <nate.finch@gmail.com> Co-authored-by: Paul Burlumi <paul@burlumi.com> Co-authored-by: Nate Finch <natefinch@github.com>
- Loading branch information
1 parent
4cf3cfc
commit d9e2e41
Showing
3 changed files
with
119 additions
and
11 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
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