(library
 (name js_of_ocaml_compiler_runtime_files)
 (libraries js_of_ocaml-compiler)
 (public_name js_of_ocaml-compiler.runtime-files))

(rule
 (target files.ml)
 (deps
  gen/gen.exe
  (glob_files ../../runtime/js/*.js))
 (action
  (with-stdout-to
   %{target}
   (run %{deps}))))
