From c8a575b9d611e5edc682530cfe3edcf43803466c Mon Sep 17 00:00:00 2001 From: Brendan Abolivier Date: Wed, 22 May 2019 09:59:37 +0100 Subject: [PATCH] Update build and test instructions --- CONTRIBUTING.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ef22b7f87..fceb882ac 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -12,10 +12,11 @@ See [INSTALL.md](INSTALL.md) for instructions on setting up a running dev instance of dendrite, and [CODE_STYLE.md](CODE_STYLE.md) for the code style guide. -We use `gb` for managing our dependencies, so `gb build` and `gb test` is how -to build dendrite and run the unit tests respectively. Be aware that a list of -all dendrite packages is the expected output for all tests succeeding with `gb -test`. There are also [scripts](scripts) for [linting](scripts/find-lint.sh) +As of May 2019, we're not using `gb` anymore, which is the tool we had been +using for managing our dependencies, and switched to Go modules. To build +Dendrite, run the `build.sh` script at the root of this repository, and to run +unit tests, run `go test ./...` (which should pick up any unit test and run +them). There are also [scripts](scripts) for [linting](scripts/find-lint.sh) and doing a [build/test/lint run](scripts/build-test-lint.sh). @@ -57,4 +58,3 @@ For more general questions please use [#dendrite:matrix.org](https://matrix.to/# We ask that everyone who contributes to the project signs off their contributions, in accordance with the [DCO](https://github.com/matrix-org/matrix-doc/blob/master/CONTRIBUTING.rst#sign-off). -