Skip to content

Commit

Permalink
Generate dream_eml rules automatically
Browse files Browse the repository at this point in the history
Instead of having all the rules defined by hand, this uses a generator
to write the rules to an include file
  • Loading branch information
Leonidas-from-XIV committed Oct 10, 2024
1 parent e63a0b3 commit fd2ce09
Show file tree
Hide file tree
Showing 6 changed files with 654 additions and 382 deletions.
136 changes: 136 additions & 0 deletions src/ocamlorg_frontend/components/dune.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
;; automatically generated by rulegen.ml, do not edit manually

(rule
(target cards.ml)
(action
(run
%{bin:dream_eml}
%{dep:cards.eml}
--workspace
%{workspace_root})))

(rule
(target copy_to_clipboard.ml)
(action
(run
%{bin:dream_eml}
%{dep:copy_to_clipboard.eml}
--workspace
%{workspace_root})))

(rule
(target footer.ml)
(action
(run
%{bin:dream_eml}
%{dep:footer.eml}
--workspace
%{workspace_root})))

(rule
(target forms.ml)
(action
(run
%{bin:dream_eml}
%{dep:forms.eml}
--workspace
%{workspace_root})))

(rule
(target header.ml)
(action
(run
%{bin:dream_eml}
%{dep:header.eml}
--workspace
%{workspace_root})))

(rule
(target hero_section.ml)
(action
(run
%{bin:dream_eml}
%{dep:hero_section.eml}
--workspace
%{workspace_root})))

(rule
(target icons.ml)
(action
(run
%{bin:dream_eml}
%{dep:icons.eml}
--workspace
%{workspace_root})))

(rule
(target learn_components.ml)
(action
(run
%{bin:dream_eml}
%{dep:learn_components.eml}
--workspace
%{workspace_root})))

(rule
(target navmap.ml)
(action
(run
%{bin:dream_eml}
%{dep:navmap.eml}
--workspace
%{workspace_root})))

(rule
(target package_breadcrumbs.ml)
(action
(run
%{bin:dream_eml}
%{dep:package_breadcrumbs.eml}
--workspace
%{workspace_root})))

(rule
(target pagination.ml)
(action
(run
%{bin:dream_eml}
%{dep:pagination.eml}
--workspace
%{workspace_root})))

(rule
(target search.ml)
(action
(run
%{bin:dream_eml}
%{dep:search.eml}
--workspace
%{workspace_root})))

(rule
(target sidebar.ml)
(action
(run
%{bin:dream_eml}
%{dep:sidebar.eml}
--workspace
%{workspace_root})))

(rule
(target toc.ml)
(action
(run
%{bin:dream_eml}
%{dep:toc.eml}
--workspace
%{workspace_root})))

(rule
(target tutorial_search.ml)
(action
(run
%{bin:dream_eml}
%{dep:tutorial_search.eml}
--workspace
%{workspace_root})))
Loading

0 comments on commit fd2ce09

Please sign in to comment.