summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7d29643..90b0753 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
.DEFAULT_GOAL := build
-.PHONY: build fmt lint cli test clean coverage sloc
+.PHONY: build docs fmt lint cli test clean coverage sloc
VERSION := $(shell grep -o 'const Version = "[^"]*' internal/version/version.go | cut -d '"' -f 2)
@@ -17,6 +17,9 @@ lint:
cli:
go build -o eduvpn-common-cli ./cmd/cli
+docs:
+ mkdocs build -f docs/mkdocs.yml
+
test:
go test -tags=cgotesting -race -v ./...