mirror of
https://github.com/lightninglabs/lightning-terminal.git
synced 2026-08-13 12:33:36 +02:00
To remove the need for installing protoc for building the source from scratch, we check in the generated JavaScript and TypeScript code that is compiled from the *.proto files. We will make sure the protos and generated files are in sync with the help of a GitHub Action. By adding a .gitattributes file we also make sure the committed generated JS code does not count towards GitHub's language statistics of the repo.
5 lines
261 B
Text
5 lines
261 B
Text
# Instruct the GitHub linguist tool to interpret the generated JS code as just
|
|
# that, generated. This will make sure the JS (and TS types for that matter)
|
|
# will not show up in the repository's language statistics.
|
|
|
|
app/src/types/generated* linguist-generated
|