This commit is contained in:
parent
0a45e7fe95
commit
e276a75534
9 changed files with 3 additions and 3 deletions
|
|
@ -1,7 +1,7 @@
|
|||
open Parse_config
|
||||
|
||||
let config_data =
|
||||
let path = Fpath.to_string (Fpath.v "default.config") in
|
||||
let path = Fpath.to_string (Fpath.v "default.conf") in
|
||||
match Assets_crunch.read path with
|
||||
| None -> fail "static file not found: `%s`" path
|
||||
| Some data ->
|
||||
|
|
|
|||
4
src/dune
4
src/dune
|
|
@ -37,8 +37,8 @@
|
|||
(rule
|
||||
(target assets_crunch.ml)
|
||||
(deps
|
||||
(source_tree ../data/assets/))
|
||||
(source_tree ../assets/))
|
||||
(action
|
||||
(with-stdout-to
|
||||
%{null}
|
||||
(run ocaml-crunch -m plain ../data/assets -o %{target}))))
|
||||
(run ocaml-crunch -m plain ../assets -o %{target}))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue