chore: no default features
This commit is contained in:
parent
796fe3c1a9
commit
18debe546d
3 changed files with 22 additions and 9 deletions
19
justfile
19
justfile
|
|
@ -1,13 +1,20 @@
|
|||
projects := 'application cosmic cosmic_sctk design open_dialog'
|
||||
examples := 'application cosmic cosmic_sctk design open_dialog'
|
||||
|
||||
# Check for errors and linter warnings
|
||||
check *args:
|
||||
cargo clippy --no-deps {{args}} -- -W clippy::pedantic
|
||||
cargo clippy --no-deps --no-default-features --features="winit,tokio" {{args}} -- -W clippy::pedantic
|
||||
for project in {{projects}}; do \
|
||||
cargo check -p ${project}; \
|
||||
check *args: (check-wayland args) (check-winit args) (check-examples args)
|
||||
|
||||
check-examples *args:
|
||||
#!/bin/bash
|
||||
for project in {{examples}}; do
|
||||
cargo check -p ${project} {{args}}
|
||||
done
|
||||
|
||||
check-wayland *args:
|
||||
cargo clippy --no-deps --features="wayland,tokio" {{args}} -- -W clippy::pedantic
|
||||
|
||||
check-winit *args:
|
||||
cargo clippy --no-deps --features="winit,tokio" {{args}} -- -W clippy::pedantic
|
||||
|
||||
# Runs a check with JSON message format for IDE integration
|
||||
check-json: (check '--message-format=json')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue