Merge branch 'parser-promote-generated-error-files' into 'dev'

Promote generated error files by dune.

See merge request ligolang/ligo!427
This commit is contained in:
Christian Rinderknecht 2020-04-30 09:48:23 +00:00
commit 82b3d634c1
6 changed files with 21 additions and 3 deletions

View File

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

View File

@ -95,6 +95,7 @@
(rule (rule
(targets error.messages) (targets error.messages)
(mode (promote (until-clean) (only *)))
(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) (only *)))
(action (action
(with-stdout-to %{target} (with-stdout-to %{target}
(run (run
@ -154,6 +156,7 @@
(rule (rule
(targets ParErr.ml) (targets ParErr.ml)
(mode (promote (until-clean) (only *)))
(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}

View File

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

View File

@ -96,6 +96,7 @@
(rule (rule
(targets error.messages) (targets error.messages)
(mode (promote (until-clean) (only *)))
(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) (only *)))
(action (action
(with-stdout-to %{target} (with-stdout-to %{target}
(run (run
@ -155,6 +157,7 @@
(rule (rule
(targets ParErr.ml) (targets ParErr.ml)
(mode (promote (until-clean) (only *)))
(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}

View File

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

View File

@ -96,6 +96,7 @@
(rule (rule
(targets error.messages) (targets error.messages)
(mode (promote (until-clean) (only *)))
(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) (only *)))
(action (action
(with-stdout-to %{target} (with-stdout-to %{target}
(run (run
@ -155,6 +157,7 @@
(rule (rule
(targets ParErr.ml) (targets ParErr.ml)
(mode (promote (until-clean) (only *)))
(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}