blob: d9f3262f0e68125fde9397bd9dd3c4b93d7595b2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
Development setup
=================
Start git, ldap and mariadb in docker/dev using docker compose up or simular.
You might have to create docker/git/authorized_keys to be able to mount it.
Then compile, using this to get musl based binaries for the githook:
cargo build --target=x86_64-unknown-linux-musl --package eyeballs-githook
and then:
cargo build && cargo run
Collect test coverage
=====================
Setup (one time):
cargo install grcov
rustup component add llvm-tools-preview
Then run:
./coverage.sh
Update sqlx in "offline mode"
=============================
cargo sqlx prepare -- --all-targets --all-features
|