forked from etclabscore/core-pool
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
22 lines (16 loc) · 560 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# This Makefile is meant to be used by people that do not usually work
# with Go source code. If you know what GOPATH is then you probably
# don't need to bother with make.
.PHONY: all test clean mkdocs-serve
GOBIN = ./build/bin
GOGET = env GO111MODULE=on go get
GOTEST = env GO111MODULE=on go test
all:
build/env.sh $(GOGET) -v ./...
test: all
build/env.sh $(GOTEST) -v ./...
clean:
env GO111MODULE=on go clean -cache
rm -fr build/_workspace/pkg/ $(GOBIN)/*
mkdocs-serve: ## Serve generated documentation (during development)
build/mkdocs-serve.sh