github.com/aws-cloudformation/cloudformation-cli-go-plugin@v1.2.0/examples/github-repo/Makefile (about)

     1  .PHONY: build test clean
     2  
     3  build:
     4  	cfn generate
     5  	env GOOS=linux go build -ldflags="-s -w" -tags="logging" -o bin/handler cmd/main.go
     6  
     7  test:
     8  	cfn generate
     9  	env GOOS=linux go build -ldflags="-s -w" -o bin/handler cmd/main.go
    10  
    11  clean:
    12  	rm -rf bin