pastebin/Makefile
2019-07-11 22:26:21 +10:00

22 lines
305 B
Makefile

.PHONY: dev build install clean
all: dev
dev: build
./pastebin
build: clean
go get ./...
go build ./cmd/pb/...
go build .
install:
go install ./cmd/pb/...
go install .
test:
go test -v -cover -coverprofile=coverage.txt -covermode=atomic -coverpkg=./... -race ./...
clean:
git clean -f -d -X