-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
25 lines (18 loc) · 625 Bytes
/
Makefile
File metadata and controls
25 lines (18 loc) · 625 Bytes
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
setup:
cargo install diesel_cli --no-default-features --features sqlite
setup-test: setup-ubuntu
cargo install cargo-tarpaulin
setup-ubuntu: setup
sudo apt install libsqlite3-dev -y
make setup
setup-arch:
sudo pacman -S sqlite
make setup
setup-nixos:
nix-shell
copy_env_template:
cp --backup templates/env.template .env
copy_schedule_template:
cp --backup templates/import_schedule.json.template import_schedule.json
test: setup setup-test
DATABASE_URL=test_gateway_garden.sqlite sh -c 'cargo tarpaulin --all-features --workspace --timeout 120 --out Xml -- --test-threads=1' && rm test_gateway_garden.sqlite