init
This commit is contained in:
commit
2ff3fcaa49
15 changed files with 602 additions and 0 deletions
21
examples/dune
Normal file
21
examples/dune
Normal 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}))))
|
||||
Loading…
Add table
Add a link
Reference in a new issue