-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJustfile
More file actions
53 lines (40 loc) · 1.06 KB
/
Justfile
File metadata and controls
53 lines (40 loc) · 1.06 KB
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# SPDX-License-Identifier: PMPL-1.0-or-later
# futharkiser — Compile annotated array operations to GPU kernels via Futhark
# Default: build and test
default: build test
# Build release binary
build:
cargo build --release
# Run all tests
test:
cargo test
# Run clippy lints
lint:
cargo clippy -- -D warnings
# Format code
fmt:
cargo fmt
# Check formatting without modifying
fmt-check:
cargo fmt -- --check
# Build documentation
doc:
cargo doc --no-deps --open
# Clean build artifacts
clean:
cargo clean
# Generate from example manifest
generate:
cargo run -- generate examples/image-pipeline/futharkiser.toml
# Run the CLI
run *ARGS:
cargo run -- {{ARGS}}
# Full quality check (lint + test + fmt-check)
quality: fmt-check lint test
@echo "All quality checks passed"
# Install locally
install:
cargo install --path .
# Run panic-attacker pre-commit scan
assail:
@command -v panic-attack >/dev/null 2>&1 && panic-attack assail . || echo "panic-attack not found — install from https://github.com/hyperpolymath/panic-attacker"