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:
commit
82b3d634c1
5
src/passes/1-parser/cameligo/.gitignore
vendored
5
src/passes/1-parser/cameligo/.gitignore
vendored
@ -10,4 +10,7 @@ _build/*
|
||||
/Parser.ml
|
||||
/Lexer.ml
|
||||
/LexToken.ml
|
||||
/Tests
|
||||
/Tests
|
||||
error.messages
|
||||
error.messages.new
|
||||
ParErr.ml
|
@ -95,6 +95,7 @@
|
||||
|
||||
(rule
|
||||
(targets error.messages)
|
||||
(mode (promote (until-clean) (only *)))
|
||||
(deps Parser.mly ParToken.mly error.messages.checked-in LexToken.mli)
|
||||
(action
|
||||
(with-stdout-to %{targets}
|
||||
@ -114,6 +115,7 @@
|
||||
|
||||
(rule
|
||||
(target error.messages.new)
|
||||
(mode (promote (until-clean) (only *)))
|
||||
(action
|
||||
(with-stdout-to %{target}
|
||||
(run
|
||||
@ -154,6 +156,7 @@
|
||||
|
||||
(rule
|
||||
(targets ParErr.ml)
|
||||
(mode (promote (until-clean) (only *)))
|
||||
(deps Parser.mly ParToken.mly error.messages.checked-in LexToken.mli)
|
||||
(action
|
||||
(with-stdout-to %{targets}
|
||||
|
5
src/passes/1-parser/pascaligo/.gitignore
vendored
5
src/passes/1-parser/pascaligo/.gitignore
vendored
@ -10,4 +10,7 @@ _build/*
|
||||
/Parser.ml
|
||||
/Lexer.ml
|
||||
/LexToken.ml
|
||||
/Tests
|
||||
/Tests
|
||||
error.messages
|
||||
error.messages.new
|
||||
ParErr.ml
|
@ -96,6 +96,7 @@
|
||||
|
||||
(rule
|
||||
(targets error.messages)
|
||||
(mode (promote (until-clean) (only *)))
|
||||
(deps Parser.mly ParToken.mly error.messages.checked-in LexToken.mli)
|
||||
(action
|
||||
(with-stdout-to %{targets}
|
||||
@ -115,6 +116,7 @@
|
||||
|
||||
(rule
|
||||
(target error.messages.new)
|
||||
(mode (promote (until-clean) (only *)))
|
||||
(action
|
||||
(with-stdout-to %{target}
|
||||
(run
|
||||
@ -155,6 +157,7 @@
|
||||
|
||||
(rule
|
||||
(targets ParErr.ml)
|
||||
(mode (promote (until-clean) (only *)))
|
||||
(deps Parser.mly ParToken.mly error.messages.checked-in LexToken.mli)
|
||||
(action
|
||||
(with-stdout-to %{targets}
|
||||
|
5
src/passes/1-parser/reasonligo/.gitignore
vendored
5
src/passes/1-parser/reasonligo/.gitignore
vendored
@ -10,4 +10,7 @@ _build/*
|
||||
/Parser.ml
|
||||
/Lexer.ml
|
||||
/LexToken.ml
|
||||
/Tests
|
||||
/Tests
|
||||
error.messages
|
||||
error.messages.new
|
||||
ParErr.ml
|
@ -96,6 +96,7 @@
|
||||
|
||||
(rule
|
||||
(targets error.messages)
|
||||
(mode (promote (until-clean) (only *)))
|
||||
(deps Parser.mly ParToken.mly error.messages.checked-in LexToken.mli)
|
||||
(action
|
||||
(with-stdout-to %{targets}
|
||||
@ -115,6 +116,7 @@
|
||||
|
||||
(rule
|
||||
(target error.messages.new)
|
||||
(mode (promote (until-clean) (only *)))
|
||||
(action
|
||||
(with-stdout-to %{target}
|
||||
(run
|
||||
@ -155,6 +157,7 @@
|
||||
|
||||
(rule
|
||||
(targets ParErr.ml)
|
||||
(mode (promote (until-clean) (only *)))
|
||||
(deps Parser.mly ParToken.mly error.messages.checked-in LexToken.mli)
|
||||
(action
|
||||
(with-stdout-to %{targets}
|
||||
|
Loading…
Reference in New Issue
Block a user