Files
cligen/Makefile
2026-09-05 13:19:55 -05:00

23 lines
402 B
Makefile

DOC_DIR := docs
PROJECT_NAME := CliGenerator
.DEFAULT_GOAL := spec
.PHONY: spec spec_silent doc doc_show
.SILENT: spec spec_silent doc doc_show
.DEFAULT:
@echo "BRUV "$@" isn't a valid target"
spec:
crystal spec -v
spec_silent:
crystal spec
doc:
crystal doc --project-name "$(PROJECT_NAME)" --output "$(DOC_DIR)"
echo "Done Generating docs"
show: doc
cd "$(DOC_DIR)"; python -m http.server