-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathjustfile
More file actions
77 lines (59 loc) · 2.53 KB
/
Copy pathjustfile
File metadata and controls
77 lines (59 loc) · 2.53 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
_default:
just --list
set positional-arguments
[doc("Generate coverage for local tests")]
coverage:
cargo llvm-cov clean --workspace
just integration-prepare
cargo llvm-cov nextest --no-report
cargo llvm-cov nextest --no-report -p tests-integration
[doc("Generate coverage with the package set")]
coverage-full: coverage
cargo llvm-cov nextest --no-report -p tests-compatibility
[doc("Generate coverage report for Codecov")]
coverage-codecov:
cargo llvm-cov report --codecov --output-path codecov.json
[doc("Generate coverage report as HTML")]
coverage-html:
cargo llvm-cov report --html
[doc("Prepare locked registry sources for integration tests")]
@integration-prepare:
cargo run -q -p tests-support -- prepare tests-integration/packages.json target/integration-packages
@integration *args="": integration-prepare
cargo nextest run -p tests-integration "$@" --status-level=fail --final-status-level=fail --failure-output=final
[doc("Install end-to-end test tools")]
@e2e-prepare:
pnpm --dir tests-e2e/tools install --frozen-lockfile
[doc("Run end-to-end tests")]
@e2e *args="":
cargo nextest run -p tests-e2e -j 1 "$@"
[doc("Run integration tests with snapshot diffing: compiler (c)|lowering (l)|resolving (r)|lsp")]
@t *args="":
cargo run -q -p compiler-scripts --release -- "$@"
[doc("Run package-set benchmarks (e.g. just bench --bench checking_single_core)")]
@bench *args="":
cargo criterion -p tests-compatibility "$@"
[doc("Compare package compatibility with a base revision using release builds")]
@compatibility base="origin/main":
bash .agents/skills/running-compatibility-checks/scripts/run.sh {{quote(base)}}
[doc("Apply clippy fixes and format")]
fix:
cargo clippy --workspace --fix && cargo fmt
[doc("Update THIRDPARTY.toml")]
[working-directory: 'compiler-executable/iris-cli']
licenses:
cargo bundle-licenses --prefer MIT -o ../../THIRDPARTY.toml
[doc("Update the release version and third-party licenses")]
prepare-release version:
cargo set-version --package iris-cli "{{version}}"
just licenses
[doc("Format imports with module granularity")]
@format *args="":
cargo +"${IRIS_NIGHTLY_TOOLCHAIN:-nightly}" fmt {{args}} -- --config imports_granularity=Module
[doc("Preview compilation progress and watch summaries")]
@progress-examples:
cargo run -q -p iris-progress --example compilation
cargo run -q -p iris-progress --example watch
[doc("Regenerate the language server configuration JSON Schema")]
@configuration-schema:
cargo run -q -p iris-configuration --features schema --example export-schema