Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 7 additions & 10 deletions Justfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
watch-rs:
watch-site:
bacon run -- --manifest-path rs/Cargo.toml --package site

watch-clippy:
bacon clippy -- --manifest-path rs/Cargo.toml --package site
bacon clippy -- --manifest-path rs/Cargo.toml --all

setup:
cp .env.template .env
Expand All @@ -13,9 +13,6 @@ run-docker:
docker load -i $(nix build .#packages.aarch64-linux.site-image --print-out-paths)
docker run --rm -e PORT=8080 -p 8080:8080 site:latest

run-rs:
cargo run --manifest-path rs/Cargo.toml

rb:
just nice
just check
Expand All @@ -35,7 +32,7 @@ format-nix:
treefmt

format-rs:
cargo fmt --manifest-path rs/Cargo.toml
cargo fmt --manifest-path rs/Cargo.toml --all

format-tf:
tofu -chdir=tf fmt
Expand All @@ -52,15 +49,15 @@ lint-nix:
deadnix --edit

lint-rs:
cargo clippy --manifest-path rs/Cargo.toml --fix --allow-dirty
cargo clippy --manifest-path rs/Cargo.toml --fix --allow-dirty --all

test: test-nix test-rs

test-nix:
nix flake check --all-systems

test-rs:
cargo test --manifest-path rs/Cargo.toml
cargo test --manifest-path rs/Cargo.toml --all

check: check-gha check-lua check-nix check-rs test

Expand All @@ -76,5 +73,5 @@ check-nix:
deadnix

check-rs:
cargo clippy --manifest-path rs/Cargo.toml
cargo fmt --manifest-path rs/Cargo.toml --check
cargo clippy --manifest-path rs/Cargo.toml --all
cargo fmt --manifest-path rs/Cargo.toml --check --all
Loading