aboutsummaryrefslogtreecommitdiff
path: root/CONTRIBUTING.md
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mssola@mssola.com>2026-01-29 23:42:04 +0100
committerMiquel Sabaté Solà <mssola@mssola.com>2026-01-29 23:42:04 +0100
commit05d4ce0068063c1677e291bc22195d7f266f5b3d (patch)
treeccdd552149fd1ca2fc2c9bd7bb0a35064d37a002 /CONTRIBUTING.md
parent37f001e1f74edc2fd19f07fb307910ea25417a39 (diff)
downloadmihi-05d4ce0068063c1677e291bc22195d7f266f5b3d.tar.gz
mihi-05d4ce0068063c1677e291bc22195d7f266f5b3d.zip
Move some parts of the README into CONTRIBUTING.md
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r--CONTRIBUTING.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
new file mode 100644
index 0000000..2cb72af
--- /dev/null
+++ b/CONTRIBUTING.md
@@ -0,0 +1,14 @@
+This application is built like any other Rust project:
+
+```
+$ cargo build
+```
+
+In order to test things you need to provide a database for it. One is provided
+in the form of `testdata/test.sqlite3`. So take that and set the `MIHI_DATABASE`
+environment variable to its full path. And after that you will be able to run:
+
+```
+$ cargo test
+$ cargo clippy --all-targets --all-features
+```