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) (using menhir 1.0)
(lang dune 1.1) (lang dune 1.4)
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
;; Rule to generate the messages ml file ;; Rule to generate the messages ml file
(rule (rule
(targets messages.ml) (targets messages.ml)
(enabled_if (= %{profile} dev))
(mode promote) (mode promote)
(deps (deps
(alias update) (alias update)
...@@ -46,7 +47,6 @@ ...@@ -46,7 +47,6 @@
;; after updating the grammar ;; after updating the grammar
(alias (alias
(name update) (name update)
(enabled_if (= %{profile} dev))
(action (diff data_parser.messages data_parser.messages.new)) (action (diff data_parser.messages data_parser.messages.new))
) )
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
;; Rule to generate the messages ml file ;; Rule to generate the messages ml file
(rule (rule
(targets messages.ml) (targets messages.ml)
(enabled_if (= %{profile} dev))
(mode promote) (mode promote)
(deps (deps
(alias update) (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