Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Makefile: run 00-fmt as part of build process
A couple of changes were made so that we can detect formatting issues before building anything and error out early. Mainly there are three new targets. Two of them are for checking and reformatting code. The third one is for splitting building and formatting. Since the docker scripts doesn't add any tests files, calling the formatting target would cause a failure. Using the build target prevents this and behaves the same way the all target did before. Closes: #1445 (Run gofmt as part of the regular build) Signed-off-by: Alexander Alemayhu <alexander@alemayhu.com>
- Loading branch information
Showing
4 changed files
with
11 additions
and
4 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
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