Skip to content

Commit f97d796

Browse files
pchaignoarfon
authored andcommitted
Add new step required when adding a grammar (github-linguist#2966)
Grammar licenses are now cached locally Therefore, it is required to update the local cache when adding a new grammar
1 parent d342aa4 commit f97d796

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

CONTRIBUTING.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ To add support for a new language:
3333
0. Add a grammar for your language. Please only add grammars that have a license that permits redistribution.
3434
0. Add your grammar as a submodule: `git submodule add https://github.com/JaneSmith/MyGrammar vendor/grammars/MyGrammar`.
3535
0. Add your grammar to [`grammars.yml`][grammars] by running `script/convert-grammars --add vendor/grammars/MyGrammar`.
36+
0. Download the license for the grammar: `script/licensed`. Be careful to only commit the file for the new grammar, as this script may update licenses for other grammars as well.
3637
0. Add samples for your language to the [samples directory][samples] in the correct subdirectory.
3738
0. Open a pull request, linking to a [GitHub search result](https://github.com/search?utf8=%E2%9C%93&q=extension%3Aboot+NOT+nothack&type=Code&ref=searchresults) showing in-the-wild usage.
3839

0 commit comments

Comments
 (0)