Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlesAverill authored Sep 1, 2024
1 parent 285084a commit 40c24eb
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,23 +27,23 @@ testf: fmt
opam exec -- dune runtest -f

run: build
opam exec -- dune exec -- PROJECT_NAME
opam exec -- dune exec -- PROJECT_NAME_

raw_run: build
clear
_build/default/bin/main.exe

debug: build
opam exec -- ocamldebug _build/default/PROJECT_NAME/main.bc
opam exec -- ocamldebug _build/default/PROJECT_NAME_/main.bc

DOCS_PATH=docs/
DOCS_NAME=PROJECT_NAME
DOCS_NAME=PROJECT_NAME_
DOCS_DESCR=_PROJECT_DESCRIPTION_
DOCS_INDEX_TITLE=$(DOCS_NAME) - $(DOCS_DESCR)
define DOCS_EMBED
<meta content="$(DOCS_NAME)" property="og:title" />\
<meta content="$(DOCS_DESCR)" property="og:description" />\
<meta content="https://github.com/_AUTHOR_USERNAME_/PROJECT_NAME" property="og:url" />
<meta content="https://github.com/_AUTHOR_USERNAME_/PROJECT_NAME_" property="og:url" />
endef

cleandocs:
Expand All @@ -56,8 +56,8 @@ docs: cleandocs build
opam exec -- dune build @doc
mv -f _build/default/_doc/_html/* $(DOCS_PATH)
rm -f $(DOCS_PATH)index.html
mv $(DOCS_PATH)PROJECT_NAME/PROJECT_NAME.html $(DOCS_PATH)index.html
mv $(DOCS_PATH)PROJECT_NAME $(DOCS_PATH)module
mv $(DOCS_PATH)PROJECT_NAME_/PROJECT_NAME_.html $(DOCS_PATH)index.html
mv $(DOCS_PATH)PROJECT_NAME_ $(DOCS_PATH)module

@echo "Preparing Index\n--------------"
# Header
Expand Down

0 comments on commit 40c24eb

Please sign in to comment.