This commit is contained in:
ge
2025-01-12 21:09:12 +03:00
commit 23b0c1bf6b
13 changed files with 341 additions and 0 deletions

20
Makefile Normal file
View File

@ -0,0 +1,20 @@
SRC_DIR ?= src
DOC_DIR ?= doc
TESTS_DIR ?= .
all: test
test:
v test $(TESTS_DIR)
doc:
v doc -f html -m ./$(SRC_DIR) -o $(DOC_DIR)
serve: clean doc
v -e "import net.http.file; file.serve(folder: '$(DOC_DIR)')"
clean:
rm -r $(DOC_DIR) || true
cli:
v cmd/mkembedfs -o mkembedfs