summaryrefslogtreecommitdiff
path: root/lib/layouts/dune
diff options
context:
space:
mode:
authorMarius Peter <marius.peter@tutanota.com>2025-01-19 20:00:18 +0100
committerMarius Peter <marius.peter@tutanota.com>2025-01-19 20:00:18 +0100
commit8ab5f20f532bc6e9de38ee457b0ef8dd30c80374 (patch)
treeceecccdb379a9298ca2eef7053b1887885134f8d /lib/layouts/dune
Initial commit for ogit.
Diffstat (limited to 'lib/layouts/dune')
-rw-r--r--lib/layouts/dune16
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/layouts/dune b/lib/layouts/dune
new file mode 100644
index 0000000..ee236ea
--- /dev/null
+++ b/lib/layouts/dune
@@ -0,0 +1,16 @@
+(library
+ (name layouts)
+ (public_name ogit.layouts)
+ (modules header topnav))
+
+; Rule to preprocess header.eml.html
+(rule
+ (targets header.ml)
+ (deps header.eml.html)
+ (action (run dream_eml %{deps} --workspace %{workspace_root})))
+
+; Rule to preprocess topnav.eml.html
+(rule
+ (targets topnav.ml)
+ (deps topnav.eml.html)
+ (action (run dream_eml %{deps} --workspace %{workspace_root})))
Copyright 2019--2025 Marius PETER