Add test to keep grammar-list synced with submodules (#3793)

* Add test to check if grammar list is outdated

* Update grammar list

* Fix duplicate punctuation in error messages
This commit is contained in:
John Gardner
2017-08-24 21:13:30 +10:00
committed by GitHub
parent b541b53b78
commit 63ff51e2ed
3 changed files with 21 additions and 7 deletions

View File

@@ -99,4 +99,8 @@ class GrammarList
end
list = GrammarList.new
list.update_readme()
if ARGV.include? "--print"
puts list.to_markdown
else
list.update_readme
end