makefile for go language
- single and multi executable program project
- Multi-platform bulid
- code format
- SonarQube integration
- benchmark test
The project is in v1.0 version.
- create project
- copy makefile.single or makefile.multi to project folder as makefile
- modify makefile
- do something by run make command
make build
build current platform executable file into $DIST_FOLDER (default)make format
format go source filemake test
run unit testmake benchmark
run benchmark testmake sonar
SonarQube integrationmake all
build all platform executable filemake clean
remove $DIST_FOLDER and SonarQube report filemake container
build docker imagemake push-container
push docker image to docker repository
If you are interested in contributing, please checkout CONTRIBUTING.md. We welcome any code or non-code contribution!
licensed by the MIT License. See LICENSE for the full license text.