Promote generated error files by dune.

This commit is contained in:
Sander Spies 2020-02-17 13:41:59 +01:00 committed by Pierre-Emmanuel Wulfman
parent e6cba7c34f
commit bd8cf09f9e
6 changed files with 15 additions and 3 deletions

View File

@ -11,3 +11,5 @@ _build/*
/Lexer.ml /Lexer.ml
/LexToken.ml /LexToken.ml
/Tests /Tests
error.messages
error.messages.new

View File

@ -95,6 +95,7 @@
(rule (rule
(targets error.messages) (targets error.messages)
(mode promote-until-clean)
(deps Parser.mly ParToken.mly error.messages.checked-in LexToken.mli) (deps Parser.mly ParToken.mly error.messages.checked-in LexToken.mli)
(action (action
(with-stdout-to %{targets} (with-stdout-to %{targets}
@ -114,6 +115,7 @@
(rule (rule
(target error.messages.new) (target error.messages.new)
(mode promote-until-clean)
(action (action
(with-stdout-to %{target} (with-stdout-to %{target}
(run (run

View File

@ -11,3 +11,5 @@ _build/*
/Lexer.ml /Lexer.ml
/LexToken.ml /LexToken.ml
/Tests /Tests
error.messages
error.messages.new

View File

@ -96,6 +96,7 @@
(rule (rule
(targets error.messages) (targets error.messages)
(mode promote-until-clean)
(deps Parser.mly ParToken.mly error.messages.checked-in LexToken.mli) (deps Parser.mly ParToken.mly error.messages.checked-in LexToken.mli)
(action (action
(with-stdout-to %{targets} (with-stdout-to %{targets}
@ -115,6 +116,7 @@
(rule (rule
(target error.messages.new) (target error.messages.new)
(mode promote-until-clean)
(action (action
(with-stdout-to %{target} (with-stdout-to %{target}
(run (run

View File

@ -11,3 +11,5 @@ _build/*
/Lexer.ml /Lexer.ml
/LexToken.ml /LexToken.ml
/Tests /Tests
error.messages
error.messages.new

View File

@ -96,6 +96,7 @@
(rule (rule
(targets error.messages) (targets error.messages)
(mode promote-until-clean)
(deps Parser.mly ParToken.mly error.messages.checked-in LexToken.mli) (deps Parser.mly ParToken.mly error.messages.checked-in LexToken.mli)
(action (action
(with-stdout-to %{targets} (with-stdout-to %{targets}
@ -115,6 +116,7 @@
(rule (rule
(target error.messages.new) (target error.messages.new)
(mode promote-until-clean)
(action (action
(with-stdout-to %{target} (with-stdout-to %{target}
(run (run