blob: 2fdf51dd347546bd4645eb1e0753ed5dd04b733f (
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 --target=x86_64-unknown-linux-musl --package eyeballs-githook build
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
|