This commit is contained in:
Swrup 2024-04-11 15:46:46 +02:00
commit 2ff3fcaa49
15 changed files with 602 additions and 0 deletions

21
examples/dune Normal file
View file

@ -0,0 +1,21 @@
(executable
(name runweb)
(modules runweb content)
(libraries tiny_httpd))
(executable
(name script)
(modules script)
(libraries js_of_ocaml brr gadgetobrr)
(modes js))
(rule
(target content.ml)
(deps
(file content/index.html)
(file content/style.css)
(file content/script.js))
(action
(with-stdout-to
%{null}
(run ocaml-crunch -m plain content -o %{target}))))