-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathMakefile
More file actions
25 lines (19 loc) · 753 Bytes
/
Makefile
File metadata and controls
25 lines (19 loc) · 753 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
export DATABASE_URL=postgresql://postgres:postgres@localhost:5432/nettuscheduler
setup: _setup_db
test: _setup_db
@cd scheduler && cargo test --all
check: _setup_db
@cd scheduler && cargo +nightly fmt
@cd scheduler && cargo clippy --verbose
@cd scheduler && cargo +nightly udeps --all-targets
@cd scheduler && cargo outdated -wR
@cd scheduler && cargo update --dry-run
check_nightly:
@cd scheduler && cargo +nightly clippy
install_all_prerequisite:
@cargo install sqlx-cli --no-default-features --features postgres || true
@cargo install cargo-outdated || true
@cargo install cargo-udeps cargo-outdated || true
_setup_db:
@docker-compose -f scheduler/integrations/docker-compose.yml up -d
@cd scheduler/crates/infra && sqlx migrate run