refactor(ci): improve the organization of cargo make tasks (#1320)

* refactor(cargo-make): extract node

* refactor(cargo-make): extract lint

* refactor(counters_stable): remove redundant tasks

* docs(cargo-make): remove descriptions

* refactor(counters_stable): streamline stages
This commit is contained in:
Joseph Cruz
2023-07-09 20:47:10 -04:00
committed by GitHub
parent 548eac8e60
commit 7a34d6026f
11 changed files with 121 additions and 173 deletions

View File

@@ -97,24 +97,15 @@ args = ["+nightly", "doc"]
cwd = "leptos_macro/example"
install_crate = false
[tasks.test-examples]
description = "Run all unit and web tests for examples"
[tasks.ci-examples]
cwd = "examples"
command = "cargo"
args = ["make", "test-unit-and-web"]
[tasks.verify-examples]
description = "Run all quality checks and tests for examples"
env = { CLEAN_AFTER_VERIFY = "true" }
cwd = "examples"
command = "cargo"
args = ["make", "verify-flow"]
args = ["make", "ci-clean"]
[tasks.clean-examples]
description = "Clean all example projects"
cwd = "examples"
command = "cargo"
args = ["make", "clean-all"]
args = ["make", "clean"]
[env]
RUSTFLAGS = ""