(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}))))
