Commit 450de31e authored by POGODALLA Sylvain's avatar POGODALLA Sylvain
Browse files

Move the enabled_if test to rules generating the messages.ml file

parent 690b8445
(lang dune 1.1)
(lang dune 1.4)
(using menhir 1.0)
(lang dune 1.1)
(lang dune 1.4)
......@@ -14,6 +14,7 @@
;; Rule to generate the messages ml file
(rule
(targets messages.ml)
(enabled_if (= %{profile} dev))
(mode promote)
(deps
(alias update)
......@@ -46,7 +47,6 @@
;; after updating the grammar
(alias
(name update)
(enabled_if (= %{profile} dev))
(action (diff data_parser.messages data_parser.messages.new))
)
......
......@@ -10,6 +10,7 @@
;; Rule to generate the messages ml file
(rule
(targets messages.ml)
(enabled_if (= %{profile} dev))
(mode promote)
(deps
(alias update)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment