rog-golang-buddies / golang-template-repository

Kickstarter repository for a golang service
Apache License 2.0
17 stars 7 forks source link

Create makefile #7

Closed shukra-in-spirit closed 2 years ago

shukra-in-spirit commented 2 years ago
haani-niyaz commented 2 years ago

@vancanhuit, See sample Makefile here: https://github.com/haani-niyaz/golang-template-repository/blob/add-makefile/Makefile

vancanhuit commented 2 years ago

Thanks for sharing @haani-niyaz. I have some thoughts:

haani-niyaz commented 2 years ago

hey @vancanhuit, feel free to take what is needed. The original use cases for having them were:

make test-build : Tests compilation and keeps the working directory clean make download : Used within a Dockerfile to create a caching layer for the dependency modules