Skip to content

Commit

Permalink
Fix template install
Browse files Browse the repository at this point in the history
  • Loading branch information
balat committed Mar 22, 2024
1 parent 1a9e37a commit 34bfea2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ The client-side code is compiled to JS using Ocsigen Js_of_ocaml or to Wasm usin
(js_of_ocaml-tyxml (>= 3.6.0))
lwt_log
(lwt_ppx (>= 1.2.3))
(tyxml (and (>= 4.4.0) (< 4.5.0)))
(tyxml (and (>= 4.6.0) (< 4.7.0)))
(ocsigenserver (and (>= 5.1.0) (< 6.0.0)))
(ipaddr (>= 2.1))
(reactiveData (>= 0.2.1))
Expand Down
2 changes: 1 addition & 1 deletion eliom.opam
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ depends: [
"js_of_ocaml-tyxml" {>= "3.6.0"}
"lwt_log"
"lwt_ppx" {>= "1.2.3"}
"tyxml" {>= "4.6.0"}
"tyxml" {>= "4.6.0" & < "4.7.0"}
"ocsigenserver" {>= "5.1.0" & < "6.0.0"}
"ipaddr" {>= "2.1"}
"reactiveData" {>= "0.2.1"}
Expand Down
4 changes: 2 additions & 2 deletions pkg/distillery/dune
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(data_only_dirs templates)
(install
(section lib)
(files (glob_files templates/client-server.basic/*)
(glob_files templates/basic.ppx/*)))
(files (glob_files templates/client-server.basic/**)
(glob_files templates/basic.ppx/**)))
2 changes: 1 addition & 1 deletion pkg/filelist.ml
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ let ppx_extra =
exts ["cmi"] ppx.interface @ exts ["cmx"] (ppx.interface @ ppx.internal)

let ppx_api = ppx.interface
let templates_dir = "pkg/distillery"
let templates_dir = "pkg/distillery/templates"
let templates = Array.to_list (Sys.readdir templates_dir)

let templates_files =
Expand Down

0 comments on commit 34bfea2

Please sign in to comment.