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 buildbuild current platform executable file into $DIST_FOLDER (default)make formatformat go source filemake testrun unit testmake benchmarkrun benchmark testmake sonarSonarQube integrationmake allbuild all platform executable filemake cleanremove $DIST_FOLDER and SonarQube report filemake containerbuild docker imagemake push-containerpush 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.