summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2024-11-21 15:48:24 +0100
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2024-11-26 10:54:24 +0100
commitd6987c06f48b61352289181954f5a436c5f2379f (patch)
treec1bfd0e08480fbb083db54d81d16ba1330d9e3af /Makefile
parentb701d19e8b8b45226f6cb1090dd160eea989ca7e (diff)
Docs: Move to Mkdocs & Codeberg pages
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 ./...