diff options
| author | Théo Zimmermann | 2020-03-29 22:12:47 +0200 |
|---|---|---|
| committer | Théo Zimmermann | 2020-03-30 12:24:43 +0200 |
| commit | 431541f91a09e9d8fe3b027475975a771d93332a (patch) | |
| tree | 5945984aa6e04ffa39b2d90cddc12f66a1eecd84 | |
| parent | 7ff44dd02d935cb078487629b342b7106cc72955 (diff) | |
[dune] [docgram] Remove bash hack thanks to new option -no-update.
| -rw-r--r-- | doc/tools/docgram/dune | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/doc/tools/docgram/dune b/doc/tools/docgram/dune index fba4856241..a533a6d367 100644 --- a/doc/tools/docgram/dune +++ b/doc/tools/docgram/dune @@ -43,9 +43,6 @@ orderedGrammar) (action (progn - (bash "for f in fullGrammar orderedGrammar; do cp ${f} ${f}.old; done") - (chdir %{project_root} (run doc_grammar -check-cmds %{input})) - (bash "for f in fullGrammar orderedGrammar; do cp ${f} ${f}.new; done") - (bash "for f in fullGrammar orderedGrammar; do cp ${f}.old ${f}; done") + (chdir %{project_root} (run doc_grammar -check-cmds -no-update %{input})) (diff? fullGrammar fullGrammar.new) (diff? orderedGrammar orderedGrammar.new)))) |
