forked from gattaca-com/helix
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
28 lines (20 loc) · 689 Bytes
/
justfile
File metadata and controls
28 lines (20 loc) · 689 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
26
27
28
toolchain := "nightly-2025-02-26"
fmt:
rustup toolchain install {{toolchain}} > /dev/null 2>&1 && \
cargo +{{toolchain}} fmt
fmt-check:
rustup toolchain install {{toolchain}} > /dev/null 2>&1 && \
cargo +{{toolchain}} fmt --check
clippy:
cargo clippy --all-features --no-deps -- -D warnings
test:
cargo test --workspace --all-features
local-redis:
docker run -d --name helix-redis -p 6379:6379 redis/redis-stack-server:latest
local-postgres:
docker run -d --name helix-postgres -e POSTGRES_PASSWORD=password -p 5432:5432 timescale/timescaledb-ha:pg17
local-setup:
just local-postgres && \
just local-redis
local-clean:
docker rm -f helix-postgres helix-redis