mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-04-24 23:41:15 +02:00
`rpc-check` is used in our CI pipeline to detect any difference between the committed and the automatically generated rpc files. Unfortunately, the current method only detects changes in the already existing files and won't fail if `make rpc` generates a totally new file. `git status --porcelain` makes the trick, it returns a line for each file that has been modified, created or deleted.