mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-13 18:03:10 -06:00
| .. | ||
| build-test-lint.sh | ||
| find-lint.sh | ||
| install-local-kafka.sh | ||
| README.md | ||
| travis-test.sh | ||
Dev Scripts
These are a collection of scripts that should be helpful for those developing on dendrite.
./scripts/find-lint.shruns the linters against dendrite,./scripts/find-lint.sh fastruns a subset of faster lints./scripts/build-test-lint.shbuilds, tests and lints dendrite, and should be run before pushing commits./scripts/install-local-kafka.shdownloads, installs and runs a kafka instance./scripts/travis-test.shis what travis runs
The linters can take a lot of resources and are slow, so they can be configured using two enviroment variables:
DENDRITE_LINT_CONCURRENCY- number of concurrent linters to run, gometalinter defaults this to 8DENDRITE_LINT_DISABLE_GC- if set then the the go gc will be disabled when running the linters, speeding them up but using much more memory.