-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathjustfile
38 lines (27 loc) · 1.05 KB
/
justfile
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
#!/usr/bin/env just --justfile
set windows-shell := ["powershell.exe", "-c"]
fmt:
cargo +nightly fmt
check-windows-winrt:
cargo check --no-default-features --features=winrt --target x86_64-pc-windows-msvc
check-windows-win32:
cargo check --no-default-features --features=win32 --target x86_64-pc-windows-msvc
check-windows: check-windows-winrt check-windows-win32
check-linux-asyncio:
cargo check --no-default-features --features=async-io --target x86_64-unknown-linux-gnu
check-linux-tokio:
cargo check --no-default-features --features=tokio --target x86_64-unknown-linux-gnu
check-linux: check-linux-asyncio check-linux-tokio
check-macos:
cargo check --no-default-features --target x86_64-apple-darwin
check: check-windows check-linux check-macos
# lint-windows:
# cargo clippy --all-features --target x86_64-pc-windows-msvc
#
# lint-linux:
# cargo clippy --all-features --target x86_64-unknown-linux-gnu
#
# lint-macos:
# cargo clippy --all-features --target x86_64-apple-darwin
#
# lint: lint-windows lint-linux lint-macos