mirror of
https://github.com/leptos-rs/leptos.git
synced 2025-12-27 09:54:41 -05:00
* fix: intoducing cargo all-features clippy * fix: change check to clippy for better diagnostics * chore: build is redundant * fix: lint task * feat: speed up tests by 2x with cargo-nextest * fix: re-add flags * fix: router example build process * fix: correct clippy arguments * fix: adapt examples makefile to new tools * fix(CI): add cargo-all-features part of CI dep * fix: just warn if there is no tests * fix(CI): add clippy and rustfmt components * fix: nextest in examples * fix: clippy should not run on empty set of features in examples (quickfix) * fix: pin cargo-all-features installation to a branch * fix: nextest --no-tests=warn? * fix: do not use built-in cargo-make workflows * fix: remove --all-targets * fix: do not run tests in parallel in certain examples * fix: disable nextest for examples * fix: properly override the make task * chore: run tests with no-deps * fix: hackernews_islands_axum * fix(CI): properly use --no-deps * fix(CI): --no-deps is not supported in tests * fix(CI): run doctests separately due to stable rust limitation in nextest * fix(examples): makefile lint recursion * fix(CI): run tests correctly * fix: remove unused clear in test makefile * fix: --no-deps positional arg in clippy * fix: run doctests for all-features * fix: running cargo-all-features over doctests * fix: improve playwright makefile
37 lines
865 B
TOML
37 lines
865 B
TOML
[tasks.cargo-all-features]
|
|
install_script = '''
|
|
cargo install --git https://github.com/sabify/cargo-all-features --branch arbitrary-command-support
|
|
'''
|
|
|
|
[tasks.install-cargo-leptos]
|
|
install_crate = { crate_name = "cargo-leptos", binary = "cargo-leptos", test_arg = "--help" }
|
|
args = ["--locked"]
|
|
|
|
[tasks.cargo-leptos-e2e]
|
|
command = "cargo"
|
|
args = ["leptos", "end-to-end"]
|
|
|
|
[tasks.build]
|
|
clear = true
|
|
command = "cargo"
|
|
args = ["leptos", "build"]
|
|
|
|
[tasks.check]
|
|
clear = true
|
|
dependencies = ["check-debug", "check-release"]
|
|
|
|
[tasks.check-debug]
|
|
dependencies = ["cargo-all-features"]
|
|
command = "cargo"
|
|
args = ["all-features", "clippy"]
|
|
|
|
[tasks.check-release]
|
|
dependencies = ["cargo-all-features"]
|
|
command = "cargo"
|
|
args = ["all-features", "clippy", "--release"]
|
|
|
|
[tasks.start-client]
|
|
dependencies = ["install-cargo-leptos"]
|
|
command = "cargo"
|
|
args = ["leptos", "watch"]
|