-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
38 lines (28 loc) · 845 Bytes
/
Copy pathjustfile
File metadata and controls
38 lines (28 loc) · 845 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
29
30
31
32
33
34
35
36
37
38
# SPDX-License-Identifier: MPL-2.0
# action-trust-layers task runner (Makefiles are forbidden — use just).
default:
@just --list
# Build the release `atl` binary.
build:
cargo build --release
# Full test suite (11 unit + 2 integration; the thesis is in tests/closure.rs).
test:
cargo test
# Clippy, warnings as errors.
lint:
cargo clippy --all-targets -- -D warnings
# Format.
fmt:
cargo fmt --all
fmt-check:
cargo fmt --all -- --check
# Run atl on a target (path to a repo or a workflow file).
run target *ARGS:
cargo run --release -- {{target}} {{ARGS}}
# Dogfood: run atl on this repo's own workflows (once .github/workflows exist).
scan-self:
cargo run --release -- . || true
clean:
cargo clean
# Pre-merge gate: thesis invariant must hold (see NEUROSYM.a2ml po2).
verify: fmt-check lint test