Skip to content

Commit c499d15

Browse files
committed
add windows utils for local dev
1 parent 0eb4d6c commit c499d15

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

check.exe

25.5 KB
Binary file not shown.

check.ps1

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/usr/bin/env pwsh
2+
Remove-Variable -Name RUSTUP_TOOLCHAIN -ErrorAction SilentlyContinue
3+
$CURRENT_DIR = Split-Path -Leaf -Path (Get-Location)
4+
5+
if ($CURRENT_DIR -eq "bevy_api_gen") {
6+
cargo +nightly-2024-12-15 clippy --all-targets --message-format=json
7+
} else {
8+
cargo clippy --workspace --all-targets --message-format=json --features="lua54 rhai teal rune bevy/file_watcher bevy/multi_threaded"
9+
}

0 commit comments

Comments
 (0)