Skip to content

Instantly share code, notes, and snippets.

View TranQuocToan1996's full-sized avatar
💻
Hey! Lets Code!

Tran Quoc Toan TranQuocToan1996

💻
Hey! Lets Code!
View GitHub Profile
@TranQuocToan1996
TranQuocToan1996 / Makefile
Created February 1, 2023 20:18 — forked from thomaspoignant/Makefile
My ultimate Makefile for Golang Projects
GOCMD=go
GOTEST=$(GOCMD) test
GOVET=$(GOCMD) vet
BINARY_NAME=example
VERSION?=0.0.0
SERVICE_PORT?=3000
DOCKER_REGISTRY?= #if set it should finished by /
EXPORT_RESULT?=false # for CI please set EXPORT_RESULT to true
GREEN := $(shell tput -Txterm setaf 2)