mirror of
https://github.com/hanzoai/porto.git
synced 2026-11-03 18:08:27 +00:00
33 lines
577 B
Makefile
33 lines
577 B
Makefile
include .project/gomod-project.mk
|
|
export GO111MODULE=on
|
|
BUILD_FLAGS=
|
|
|
|
.PHONY: *
|
|
|
|
.SILENT:
|
|
|
|
default: help
|
|
|
|
all: clean tools generate covtest
|
|
|
|
#
|
|
# clean produced files
|
|
#
|
|
clean:
|
|
go clean ./...
|
|
rm -rf \
|
|
${COVPATH} \
|
|
${PROJ_BIN}
|
|
|
|
tools:
|
|
go install github.com/go-phorce/cov-report/cmd/[email protected]
|
|
go install github.com/mattn/[email protected]
|
|
go install github.com/golangci/golangci-lint/cmd/[email protected]
|
|
|
|
build:
|
|
echo "nothing to build yet"
|
|
|
|
coveralls-github:
|
|
echo "Running coveralls"
|
|
goveralls -v -coverprofile=coverage.out -service=github -package ./...
|