all: stop using src/ dir

This commit is contained in:
ge 2025-04-22 19:51:49 +03:00
parent 72bef1ea47
commit 13767d8c0c
2 changed files with 3 additions and 5 deletions

View File

@ -1,14 +1,12 @@
SRC_DIR ?= src DOC_DIR = doc
DOC_DIR ?= doc
TESTS_DIR ?= .
all: test all: test
test: test:
v test $(TESTS_DIR) v test .
doc: doc:
v doc -f html -m ./$(SRC_DIR) -o $(DOC_DIR) v doc -f html -m . -o $(DOC_DIR)
serve: clean doc serve: clean doc
v -e "import net.http.file; file.serve(folder: '$(DOC_DIR)')" v -e "import net.http.file; file.serve(folder: '$(DOC_DIR)')"