Makefile tutorial GNU Make website
Make function used: shell
We are using Makefile for each repo to help:
- Download/sync dependencies.
- Run unit tests.
- Build binary.
- Package binary and build docker image.
- Push tagged docker image to repository.
Thus the Makefile can be easily integrated into CICD pipeline or run manually for regular development, for example:
1 | # download dependencies |