github.com/jamiefdhurst/journal@v0.9.2/Makefile (about)

     1  .PHONY: build test
     2  
     3  build:
     4  	@CC=x86_64-unknown-linux-gnu-gcc CGO_ENABLED=1 GOARCH=amd64 GOOS=linux go build -v -o bootstrap .
     5  	@zip -r lambda.zip bootstrap web -x web/app/\*
     6  
     7  test:
     8  	@2>&1 go test -coverprofile=cover.out -coverpkg=./internal/...,./pkg/... -v ./... | go2xunit > tests.xml
     9  	@gocov convert cover.out | gocov-xml > coverage.xml
    10  
    11  clean:
    12  	@rm -f bootstrap
    13  	@rm -f lambda.zip