From bf4d5c803f53b9c5e1f9713c225a49c621a5d21c Mon Sep 17 00:00:00 2001 From: Philippe Pittoli Date: Fri, 3 Feb 2023 05:37:42 +0100 Subject: [PATCH] Crystal bindings: makefile: handle documentation. --- zig-impl/crystal/some-crystal-app/makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/zig-impl/crystal/some-crystal-app/makefile b/zig-impl/crystal/some-crystal-app/makefile index d938c38..455e27c 100644 --- a/zig-impl/crystal/some-crystal-app/makefile +++ b/zig-impl/crystal/some-crystal-app/makefile @@ -37,3 +37,10 @@ run-authc: run-test: crystal run src/libauth.cr + +doc: + crystal docs + +ACCESS_LOGS ?= ./access.log +serve-doc: + darkhttpd docs/ --addr 127.0.0.1 --port 35001 --log $(ACCESS_LOGS)