diff --git a/Makefile b/Makefile index f6d2cc6d..b4d41f61 100644 --- a/Makefile +++ b/Makefile @@ -16,6 +16,13 @@ protoc-gen: update-submodules: git submodule update --init +doc: + @dune build @doc + +PACKAGES=$(shell opam show . -f name) +odig-doc: + @odig odoc --cache-dir=_doc/ $(PACKAGES) + format: @dune build @fmt --auto-promote