Working basic htmx page and endpoint, WIP static file serving and dune test running

This commit is contained in:
2024-10-31 12:10:38 -06:00
commit d18ae43731
21 changed files with 533 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
(executable
(public_name stack_picker)
(name main)
(libraries
stack_picker
eio_main
caqti-eio.unix
cohttp-eio
tyxml
fmt
unix
logs.fmt
logs.threaded)
(preprocess
(pps tyxml-ppx)))
(rule
(alias deploy)
(deps static)
(action
(chdir %{workspace_root}
(run ./scripts/validate_html.ml ))))
(rule
(alias static)
(action
(chdir %{workspace_root}
(copy static/* ./ ))))