-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathjustfile
More file actions
51 lines (39 loc) · 1.53 KB
/
Copy pathjustfile
File metadata and controls
51 lines (39 loc) · 1.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
_default:
just --list
set positional-arguments
[doc("Generate coverage for local tests")]
coverage:
cargo llvm-cov clean --workspace
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
@integration *args="":
cargo nextest run -p tests-integration "$@" --status-level=fail --final-status-level=fail --failure-output=final
[doc("Run integration tests with snapshot diffing: checking|semantic|lowering|resolving|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("Apply clippy fixes and format")]
fix:
cargo clippy --workspace --fix && cargo fmt
[doc("Update THIRDPARTY.toml")]
[working-directory: 'compiler-bin']
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 purescript-alexandrite "{{version}}"
just licenses
[doc("Format imports with module granularity")]
@format *args="":
cargo +nightly fmt {{args}} -- --config imports_granularity=Module