Skip to content

Commit 63bf099

Browse files
authored
Merge branch 'master' into gitatributes
2 parents 8d2a353 + 16405aa commit 63bf099

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

README.md

+14-2
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,21 @@ Note that even if enry's CLI is compatible with linguist's, its main point is th
118118
Development
119119
------------
120120

121-
*enry* re-uses parts of original [linguist](https://github.com/github/linguist) especially data in `languages.yml` to generate internal data structures. In order to update to latest upstream run
122121

123-
make clean code-generate
122+
*enry* re-uses parts of original [linguist](https://github.com/github/linguist) to generate internal data structures. In order to update to latest upstream and generate the necessary code you must run:
123+
124+
125+
go generate
126+
127+
We update enry due to changes in linguist's master branch related to the following files:
128+
* [languages.yml](https://github.com/github/linguist/blob/master/lib/linguist/languages.yml)
129+
* [heuristics.rb](https://github.com/github/linguist/blob/master/lib/linguist/heuristics.rb)
130+
* [vendor.yml](https://github.com/github/linguist/blob/master/lib/linguist/vendor.yml)
131+
* [documentation.yml](https://github.com/github/linguist/blob/master/lib/linguist/documentation.yml)
132+
133+
For the moment we don't have any procedure established to detect changes in the linguist project automatically and regenerate the code. So we are updating the generated code as needed, without any specific criteria.
134+
135+
If you want update *enry* because of changes in linguist, you can run the *go generate* command and do a pull request that only contains the changes in generated files (those files in the subdirectory [data](https://github.com/src-d/enry/tree/master/data)).
124136

125137
To run the tests
126138

0 commit comments

Comments
 (0)