github.com/Yunsang-Jeong/terraforge@v0.0.0-20231003081416-fe4fad2c57e3/Makefile (about)

     1  .PHONY: build clean
     2  
     3  GIT_ROOT := $(shell git rev-parse --show-toplevel)
     4  
     5  test:
     6  	go test ./internal/app
     7  
     8  build:
     9  	go build -ldflags="-s -w" -o $(GIT_ROOT)/bin/tfg $(GIT_ROOT)/main.go
    10  
    11  clean:
    12  	rm -rf ./bin