hexa.cr/makefile

12 lines
338 B
Makefile
Raw Normal View History

2024-06-21 13:28:45 +02:00
SOURCE_FILES = src/bindings.cr src/hexa.cr src/high-level-bindings.cr
doc:
crystal docs $(SOURCE_FILES)
HTTPD_ACCESS_LOGS ?= /tmp/access-hexa.cr-docs.log
HTTPD_ADDR ?= 127.0.0.1
HTTPD_PORT ?= 9002
DIR ?= docs
serve-doc:
darkhttpd $(DIR) --addr $(HTTPD_ADDR) --port $(HTTPD_PORT) --log $(HTTPD_ACCESS_LOGS)