init
Some checks are pending
CI / build (push) Waiting to run
CI / deploy (push) Blocked by required conditions

This commit is contained in:
ge
2025-04-05 22:49:43 +03:00
commit ef87b21308
21 changed files with 4262 additions and 0 deletions

26
Makefile Normal file
View File

@ -0,0 +1,26 @@
SRC_DIR ?= src
DOC_DIR ?= doc
TESTS_DIR ?= tests
all: fmt vet missdoc test
fmt:
v fmt -verify -diff $(SRC_DIR)
vet:
v vet -W -r -I -F $(SRC_DIR)
missdoc:
v missdoc -r --verify $(SRC_DIR)
test:
v test .
doc:
v doc -f html -m . -o $(DOC_DIR)
clean:
rm -r $(DOC_DIR) || true
serve: clean doc
v -e "import net.http.file; file.serve(folder: '$(DOC_DIR)')"