dataunits/Makefile
2025-04-22 19:51:49 +03:00

22 lines
378 B
Makefile

DOC_DIR = doc
all: test
test:
v test .
doc:
v doc -f html -m . -o $(DOC_DIR)
serve: clean doc
v -e "import net.http.file; file.serve(folder: '$(DOC_DIR)')"
build:
v -path "$$(realpath $$PWD/../)|@vlib|@vmodules" \
-prod -parallel-cc -cflags -static -cflags -s -d no_segfault_handler \
cmd/dataunit -o dataunit
clean:
rm -r $(DOC_DIR) || true
rm dataunit || true