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
|
open Parse_config
|
||||||
|
|
||||||
let config_data =
|
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
|
match Assets_crunch.read path with
|
||||||
| None -> fail "static file not found: `%s`" path
|
| None -> fail "static file not found: `%s`" path
|
||||||
| Some data ->
|
| Some data ->
|
||||||
|
|
|
||||||
4
src/dune
4
src/dune
|
|
@ -37,8 +37,8 @@
|
||||||
(rule
|
(rule
|
||||||
(target assets_crunch.ml)
|
(target assets_crunch.ml)
|
||||||
(deps
|
(deps
|
||||||
(source_tree ../data/assets/))
|
(source_tree ../assets/))
|
||||||
(action
|
(action
|
||||||
(with-stdout-to
|
(with-stdout-to
|
||||||
%{null}
|
%{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