github.com/lyft/flytestdlib@v0.3.12-0.20210213045714-8cdd111ecda1/Makefile (about) 1 export REPOSITORY=flytestdlib 2 include boilerplate/lyft/golang_test_targets/Makefile 3 4 .PHONY: update_boilerplate 5 update_boilerplate: 6 @boilerplate/update.sh 7 8 # Generate golden files. Add test packages that generate golden files here. 9 golden: 10 go test ./cli/pflags/api -update 11 go test ./config -update 12 go test ./storage -update 13 go test ./tests -update 14 15 16 generate: 17 @echo "************************ go generate **********************************" 18 go generate ./... 19 20 # This is the only target that should be overriden by the project. Get your binary into ${GOREPO}/bin 21 .PHONY: compile 22 compile: 23 mkdir -p ./bin 24 go build -o pflags ./cli/pflags/main.go && mv ./pflags ./bin 25 26 gen-config: download_tooling 27 @go generate ./... 28 29 .PHONY: test_unit_codecov 30 test_unit_codecov: 31 go test ./... -race -coverprofile=coverage.txt -covermode=atomic 32 curl -s https://codecov.io/bash > codecov_bash.sh && bash codecov_bash.sh