(executable
 (public_name mte)
 (name mte)
 (modules assets assets_crunch headers mte config util)
 (libraries
  headers_lib
  syntax
  ;
  vif
  fmt
  jsont
  cohttp))

(library
 (name headers_lib)
 (modules headers_lib)
 (libraries fmt syntax))

(library
 (name syntax)
 (modules syntax)
 (libraries))

(rule
 (target assets_crunch.ml)
 (deps
  (source_tree assets))
 (action
  (with-stdout-to
   %{null}
   (run ocaml-crunch -m plain assets -o %{target}))))
