aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2022-09-06 01:08:07 +0700
committerShulhan <ms@kilabit.info>2022-09-06 01:08:07 +0700
commit90e972ae954c147bf73c5f06ffc49d5633bcdea5 (patch)
tree6801353afa9428378d771c123d948b0bedb36c86
parentcf74c0cde4a6e34987e74ed2ce3b1b248deaf12f (diff)
downloadhaminer-90e972ae954c147bf73c5f06ffc49d5633bcdea5.tar.xz
all: add task to preview the documentation
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index ddb178b..b244201 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,7 @@
## SPDX-FileCopyrightText: 2018 M. Shulhan <ms@kilabit.info>
## SPDX-License-Identifier: GPL-3.0-or-later
-.PHONY: all build install
-
+.PHONY: all build test lint install serve-doc
all: install
build:
@@ -16,3 +15,6 @@ lint:
install: build test lint
go install -v ./cmd/haminer
+
+serve-doc:
+ ciigo serve _doc