build(examples): pull up compile tasks (#1417)
* build(examples): pull up compile tasks * build(examples): set toolchain for compiles tasks * build(examples): set toolchain for build and check * build(examples): set toolchain of other examples
This commit is contained in:
parent
984a7388f1
commit
8c5ab99fa7
|
@ -20,6 +20,18 @@ cwd = "examples"
|
||||||
command = "cargo"
|
command = "cargo"
|
||||||
args = ["make", "ci-clean"]
|
args = ["make", "ci-clean"]
|
||||||
|
|
||||||
|
[tasks.check-examples]
|
||||||
|
workspace = false
|
||||||
|
cwd = "examples"
|
||||||
|
command = "cargo"
|
||||||
|
args = ["make", "check-clean"]
|
||||||
|
|
||||||
|
[tasks.build-examples]
|
||||||
|
workspace = false
|
||||||
|
cwd = "examples"
|
||||||
|
command = "cargo"
|
||||||
|
args = ["make", "build-clean"]
|
||||||
|
|
||||||
[tasks.clean-examples]
|
[tasks.clean-examples]
|
||||||
workspace = false
|
workspace = false
|
||||||
cwd = "examples"
|
cwd = "examples"
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
[tasks.build]
|
||||||
|
toolchain = "nightly"
|
||||||
|
command = "cargo"
|
||||||
|
args = ["build-all-features"]
|
||||||
|
install_crate = "cargo-all-features"
|
||||||
|
|
||||||
|
[tasks.check]
|
||||||
|
toolchain = "nightly"
|
||||||
|
command = "cargo"
|
||||||
|
args = ["check-all-features"]
|
||||||
|
install_crate = "cargo-all-features"
|
|
@ -1,4 +1,5 @@
|
||||||
extend = [
|
extend = [
|
||||||
|
{ path = "../cargo-make/compile.toml" },
|
||||||
{ path = "../cargo-make/clean.toml" },
|
{ path = "../cargo-make/clean.toml" },
|
||||||
{ path = "../cargo-make/lint.toml" },
|
{ path = "../cargo-make/lint.toml" },
|
||||||
{ path = "../cargo-make/node.toml" },
|
{ path = "../cargo-make/node.toml" },
|
||||||
|
@ -9,9 +10,6 @@ extend = [
|
||||||
[tasks.ci]
|
[tasks.ci]
|
||||||
dependencies = ["prepare", "lint", "build", "test-flow", "integration-test"]
|
dependencies = ["prepare", "lint", "build", "test-flow", "integration-test"]
|
||||||
|
|
||||||
[tasks.ci-clean]
|
|
||||||
dependencies = ["ci", "clean"]
|
|
||||||
|
|
||||||
[tasks.prepare]
|
[tasks.prepare]
|
||||||
dependencies = ["setup-node"]
|
dependencies = ["setup-node"]
|
||||||
|
|
||||||
|
@ -20,6 +18,17 @@ dependencies = ["check-style"]
|
||||||
|
|
||||||
[tasks.integration-test]
|
[tasks.integration-test]
|
||||||
|
|
||||||
|
# Support Local Runs
|
||||||
|
|
||||||
|
[tasks.ci-clean]
|
||||||
|
dependencies = ["ci", "clean"]
|
||||||
|
|
||||||
|
[tasks.check-clean]
|
||||||
|
dependencies = ["check", "clean"]
|
||||||
|
|
||||||
|
[tasks.build-clean]
|
||||||
|
dependencies = ["build", "clean"]
|
||||||
|
|
||||||
# ALIASES
|
# ALIASES
|
||||||
|
|
||||||
[tasks.verify-flow]
|
[tasks.verify-flow]
|
||||||
|
|
|
@ -2,13 +2,3 @@ extend = [
|
||||||
{ path = "../cargo-make/main.toml" },
|
{ path = "../cargo-make/main.toml" },
|
||||||
{ path = "../cargo-make/wasm-test.toml" },
|
{ path = "../cargo-make/wasm-test.toml" },
|
||||||
]
|
]
|
||||||
|
|
||||||
[tasks.build]
|
|
||||||
command = "cargo"
|
|
||||||
args = ["+nightly", "build-all-features"]
|
|
||||||
install_crate = "cargo-all-features"
|
|
||||||
|
|
||||||
[tasks.check]
|
|
||||||
command = "cargo"
|
|
||||||
args = ["+nightly", "check-all-features"]
|
|
||||||
install_crate = "cargo-all-features"
|
|
||||||
|
|
|
@ -1,11 +1 @@
|
||||||
extend = [{ path = "../cargo-make/main.toml" }]
|
extend = [{ path = "../cargo-make/main.toml" }]
|
||||||
|
|
||||||
[tasks.build]
|
|
||||||
command = "cargo"
|
|
||||||
args = ["+nightly", "build-all-features"]
|
|
||||||
install_crate = "cargo-all-features"
|
|
||||||
|
|
||||||
[tasks.check]
|
|
||||||
command = "cargo"
|
|
||||||
args = ["+nightly", "check-all-features"]
|
|
||||||
install_crate = "cargo-all-features"
|
|
||||||
|
|
|
@ -4,11 +4,13 @@ extend = [
|
||||||
]
|
]
|
||||||
|
|
||||||
[tasks.build]
|
[tasks.build]
|
||||||
|
toolchain = "stable"
|
||||||
command = "cargo"
|
command = "cargo"
|
||||||
args = ["+stable", "build-all-features"]
|
args = ["build-all-features"]
|
||||||
install_crate = "cargo-all-features"
|
install_crate = "cargo-all-features"
|
||||||
|
|
||||||
[tasks.check]
|
[tasks.check]
|
||||||
|
toolchain = "stable"
|
||||||
command = "cargo"
|
command = "cargo"
|
||||||
args = ["+stable", "check-all-features"]
|
args = ["check-all-features"]
|
||||||
install_crate = "cargo-all-features"
|
install_crate = "cargo-all-features"
|
||||||
|
|
|
@ -2,13 +2,3 @@ extend = [
|
||||||
{ path = "../cargo-make/main.toml" },
|
{ path = "../cargo-make/main.toml" },
|
||||||
{ path = "../cargo-make/wasm-test.toml" },
|
{ path = "../cargo-make/wasm-test.toml" },
|
||||||
]
|
]
|
||||||
|
|
||||||
[tasks.build]
|
|
||||||
command = "cargo"
|
|
||||||
args = ["+nightly", "build-all-features"]
|
|
||||||
install_crate = "cargo-all-features"
|
|
||||||
|
|
||||||
[tasks.check]
|
|
||||||
command = "cargo"
|
|
||||||
args = ["+nightly", "check-all-features"]
|
|
||||||
install_crate = "cargo-all-features"
|
|
||||||
|
|
|
@ -6,6 +6,13 @@ extend = [
|
||||||
]
|
]
|
||||||
|
|
||||||
[tasks.build]
|
[tasks.build]
|
||||||
|
toolchain = "stable"
|
||||||
command = "cargo"
|
command = "cargo"
|
||||||
args = ["+stable", "build-all-features"]
|
args = ["build-all-features"]
|
||||||
|
install_crate = "cargo-all-features"
|
||||||
|
|
||||||
|
[tasks.check]
|
||||||
|
toolchain = "stable"
|
||||||
|
command = "cargo"
|
||||||
|
args = ["check-all-features"]
|
||||||
install_crate = "cargo-all-features"
|
install_crate = "cargo-all-features"
|
||||||
|
|
|
@ -1,11 +1 @@
|
||||||
extend = [{ path = "../cargo-make/main.toml" }]
|
extend = [{ path = "../cargo-make/main.toml" }]
|
||||||
|
|
||||||
[tasks.build]
|
|
||||||
command = "cargo"
|
|
||||||
args = ["+nightly", "build-all-features"]
|
|
||||||
install_crate = "cargo-all-features"
|
|
||||||
|
|
||||||
[tasks.check]
|
|
||||||
command = "cargo"
|
|
||||||
args = ["+nightly", "check-all-features"]
|
|
||||||
install_crate = "cargo-all-features"
|
|
||||||
|
|
|
@ -1,11 +1 @@
|
||||||
extend = [{ path = "../cargo-make/main.toml" }]
|
extend = [{ path = "../cargo-make/main.toml" }]
|
||||||
|
|
||||||
[tasks.build]
|
|
||||||
command = "cargo"
|
|
||||||
args = ["+nightly", "build-all-features"]
|
|
||||||
install_crate = "cargo-all-features"
|
|
||||||
|
|
||||||
[tasks.check]
|
|
||||||
command = "cargo"
|
|
||||||
args = ["+nightly", "check-all-features"]
|
|
||||||
install_crate = "cargo-all-features"
|
|
||||||
|
|
|
@ -1,11 +1 @@
|
||||||
extend = [{ path = "../cargo-make/main.toml" }]
|
extend = [{ path = "../cargo-make/main.toml" }]
|
||||||
|
|
||||||
[tasks.build]
|
|
||||||
command = "cargo"
|
|
||||||
args = ["+nightly", "build-all-features"]
|
|
||||||
install_crate = "cargo-all-features"
|
|
||||||
|
|
||||||
[tasks.check]
|
|
||||||
command = "cargo"
|
|
||||||
args = ["+nightly", "check-all-features"]
|
|
||||||
install_crate = "cargo-all-features"
|
|
||||||
|
|
|
@ -1,11 +1 @@
|
||||||
extend = [{ path = "../cargo-make/main.toml" }]
|
extend = [{ path = "../cargo-make/main.toml" }]
|
||||||
|
|
||||||
[tasks.build]
|
|
||||||
command = "cargo"
|
|
||||||
args = ["+nightly", "build-all-features"]
|
|
||||||
install_crate = "cargo-all-features"
|
|
||||||
|
|
||||||
[tasks.check]
|
|
||||||
command = "cargo"
|
|
||||||
args = ["+nightly", "check-all-features"]
|
|
||||||
install_crate = "cargo-all-features"
|
|
||||||
|
|
|
@ -1,11 +1 @@
|
||||||
extend = [{ path = "../cargo-make/main.toml" }]
|
extend = [{ path = "../cargo-make/main.toml" }]
|
||||||
|
|
||||||
[tasks.build]
|
|
||||||
command = "cargo"
|
|
||||||
args = ["+nightly", "build-all-features"]
|
|
||||||
install_crate = "cargo-all-features"
|
|
||||||
|
|
||||||
[tasks.check]
|
|
||||||
command = "cargo"
|
|
||||||
args = ["+nightly", "check-all-features"]
|
|
||||||
install_crate = "cargo-all-features"
|
|
||||||
|
|
|
@ -4,13 +4,15 @@ extend = [
|
||||||
]
|
]
|
||||||
|
|
||||||
[tasks.build]
|
[tasks.build]
|
||||||
|
toolchain = "nightly"
|
||||||
command = "cargo"
|
command = "cargo"
|
||||||
args = ["+nightly", "build-all-features", "--target", "wasm32-unknown-unknown"]
|
args = ["build-all-features", "--target", "wasm32-unknown-unknown"]
|
||||||
install_crate = "cargo-all-features"
|
install_crate = "cargo-all-features"
|
||||||
|
|
||||||
[tasks.check]
|
[tasks.check]
|
||||||
|
toolchain = "nightly"
|
||||||
command = "cargo"
|
command = "cargo"
|
||||||
args = ["+nightly", "check-all-features", "--target", "wasm32-unknown-unknown"]
|
args = ["check-all-features", "--target", "wasm32-unknown-unknown"]
|
||||||
install_crate = "cargo-all-features"
|
install_crate = "cargo-all-features"
|
||||||
|
|
||||||
[tasks.pre-clippy]
|
[tasks.pre-clippy]
|
||||||
|
|
|
@ -1,11 +1 @@
|
||||||
extend = [{ path = "../cargo-make/main.toml" }]
|
extend = [{ path = "../cargo-make/main.toml" }]
|
||||||
|
|
||||||
[tasks.build]
|
|
||||||
command = "cargo"
|
|
||||||
args = ["+nightly", "build-all-features"]
|
|
||||||
install_crate = "cargo-all-features"
|
|
||||||
|
|
||||||
[tasks.check]
|
|
||||||
command = "cargo"
|
|
||||||
args = ["+nightly", "check-all-features"]
|
|
||||||
install_crate = "cargo-all-features"
|
|
||||||
|
|
|
@ -1,11 +1 @@
|
||||||
extend = { path = "../cargo-make/main.toml" }
|
extend = { path = "../cargo-make/main.toml" }
|
||||||
|
|
||||||
[tasks.build]
|
|
||||||
command = "cargo"
|
|
||||||
args = ["+nightly", "build-all-features"]
|
|
||||||
install_crate = "cargo-all-features"
|
|
||||||
|
|
||||||
[tasks.check]
|
|
||||||
command = "cargo"
|
|
||||||
args = ["+nightly", "check-all-features"]
|
|
||||||
install_crate = "cargo-all-features"
|
|
||||||
|
|
|
@ -1,11 +1 @@
|
||||||
extend = [{ path = "../cargo-make/main.toml" }]
|
extend = [{ path = "../cargo-make/main.toml" }]
|
||||||
|
|
||||||
[tasks.build]
|
|
||||||
command = "cargo"
|
|
||||||
args = ["+nightly", "build-all-features"]
|
|
||||||
install_crate = "cargo-all-features"
|
|
||||||
|
|
||||||
[tasks.check]
|
|
||||||
command = "cargo"
|
|
||||||
args = ["+nightly", "check-all-features"]
|
|
||||||
install_crate = "cargo-all-features"
|
|
||||||
|
|
|
@ -3,13 +3,3 @@ extend = [
|
||||||
{ path = "../cargo-make/trunk_server.toml" },
|
{ path = "../cargo-make/trunk_server.toml" },
|
||||||
{ path = "../cargo-make/playwright-test.toml" },
|
{ path = "../cargo-make/playwright-test.toml" },
|
||||||
]
|
]
|
||||||
|
|
||||||
[tasks.build]
|
|
||||||
command = "cargo"
|
|
||||||
args = ["+nightly", "build-all-features"]
|
|
||||||
install_crate = "cargo-all-features"
|
|
||||||
|
|
||||||
[tasks.check]
|
|
||||||
command = "cargo"
|
|
||||||
args = ["+nightly", "check-all-features"]
|
|
||||||
install_crate = "cargo-all-features"
|
|
||||||
|
|
|
@ -1,11 +1 @@
|
||||||
extend = { path = "../cargo-make/main.toml" }
|
extend = { path = "../cargo-make/main.toml" }
|
||||||
|
|
||||||
[tasks.build]
|
|
||||||
command = "cargo"
|
|
||||||
args = ["+nightly", "build-all-features"]
|
|
||||||
install_crate = "cargo-all-features"
|
|
||||||
|
|
||||||
[tasks.check]
|
|
||||||
command = "cargo"
|
|
||||||
args = ["+nightly", "check-all-features"]
|
|
||||||
install_crate = "cargo-all-features"
|
|
||||||
|
|
|
@ -1,11 +1 @@
|
||||||
extend = [{ path = "../cargo-make/main.toml" }]
|
extend = [{ path = "../cargo-make/main.toml" }]
|
||||||
|
|
||||||
[tasks.build]
|
|
||||||
command = "cargo"
|
|
||||||
args = ["+nightly", "build-all-features"]
|
|
||||||
install_crate = "cargo-all-features"
|
|
||||||
|
|
||||||
[tasks.check]
|
|
||||||
command = "cargo"
|
|
||||||
args = ["+nightly", "check-all-features"]
|
|
||||||
install_crate = "cargo-all-features"
|
|
||||||
|
|
|
@ -1,11 +1 @@
|
||||||
extend = [{ path = "../cargo-make/main.toml" }]
|
extend = [{ path = "../cargo-make/main.toml" }]
|
||||||
|
|
||||||
[tasks.build]
|
|
||||||
command = "cargo"
|
|
||||||
args = ["+nightly", "build-all-features"]
|
|
||||||
install_crate = "cargo-all-features"
|
|
||||||
|
|
||||||
[tasks.check]
|
|
||||||
command = "cargo"
|
|
||||||
args = ["+nightly", "check-all-features"]
|
|
||||||
install_crate = "cargo-all-features"
|
|
||||||
|
|
|
@ -1,11 +1 @@
|
||||||
extend = [{ path = "../cargo-make/main.toml" }]
|
extend = [{ path = "../cargo-make/main.toml" }]
|
||||||
|
|
||||||
[tasks.build]
|
|
||||||
command = "cargo"
|
|
||||||
args = ["+nightly", "build-all-features"]
|
|
||||||
install_crate = "cargo-all-features"
|
|
||||||
|
|
||||||
[tasks.check]
|
|
||||||
command = "cargo"
|
|
||||||
args = ["+nightly", "check-all-features"]
|
|
||||||
install_crate = "cargo-all-features"
|
|
||||||
|
|
|
@ -2,13 +2,3 @@ extend = [
|
||||||
{ path = "../cargo-make/main.toml" },
|
{ path = "../cargo-make/main.toml" },
|
||||||
{ path = "../cargo-make/cargo-leptos-test.toml" },
|
{ path = "../cargo-make/cargo-leptos-test.toml" },
|
||||||
]
|
]
|
||||||
|
|
||||||
[tasks.build]
|
|
||||||
command = "cargo"
|
|
||||||
args = ["+nightly", "build-all-features"]
|
|
||||||
install_crate = "cargo-all-features"
|
|
||||||
|
|
||||||
[tasks.check]
|
|
||||||
command = "cargo"
|
|
||||||
args = ["+nightly", "check-all-features"]
|
|
||||||
install_crate = "cargo-all-features"
|
|
||||||
|
|
|
@ -1,11 +1 @@
|
||||||
extend = [{ path = "../cargo-make/main.toml" }]
|
extend = [{ path = "../cargo-make/main.toml" }]
|
||||||
|
|
||||||
[tasks.build]
|
|
||||||
command = "cargo"
|
|
||||||
args = ["+nightly", "build-all-features"]
|
|
||||||
install_crate = "cargo-all-features"
|
|
||||||
|
|
||||||
[tasks.check]
|
|
||||||
command = "cargo"
|
|
||||||
args = ["+nightly", "check-all-features"]
|
|
||||||
install_crate = "cargo-all-features"
|
|
||||||
|
|
|
@ -1,11 +1 @@
|
||||||
extend = [{ path = "../cargo-make/main.toml" }]
|
extend = [{ path = "../cargo-make/main.toml" }]
|
||||||
|
|
||||||
[tasks.build]
|
|
||||||
command = "cargo"
|
|
||||||
args = ["+nightly", "build-all-features"]
|
|
||||||
install_crate = "cargo-all-features"
|
|
||||||
|
|
||||||
[tasks.check]
|
|
||||||
command = "cargo"
|
|
||||||
args = ["+nightly", "check-all-features"]
|
|
||||||
install_crate = "cargo-all-features"
|
|
||||||
|
|
|
@ -1,20 +1,17 @@
|
||||||
extend = { path = "../cargo-make/main.toml" }
|
extend = { path = "../cargo-make/main.toml" }
|
||||||
|
|
||||||
[tasks.build]
|
|
||||||
command = "cargo"
|
|
||||||
args = ["+nightly", "build-all-features"]
|
|
||||||
install_crate = "cargo-all-features"
|
|
||||||
|
|
||||||
[tasks.check]
|
[tasks.check]
|
||||||
clear = true
|
clear = true
|
||||||
dependencies = ["check-debug", "check-release"]
|
dependencies = ["check-debug", "check-release"]
|
||||||
|
|
||||||
[tasks.check-debug]
|
[tasks.check-debug]
|
||||||
|
toolchain = "nightly"
|
||||||
command = "cargo"
|
command = "cargo"
|
||||||
args = ["+nightly", "check-all-features"]
|
args = ["check-all-features"]
|
||||||
install_crate = "cargo-all-features"
|
install_crate = "cargo-all-features"
|
||||||
|
|
||||||
[tasks.check-release]
|
[tasks.check-release]
|
||||||
|
toolchain = "nightly"
|
||||||
command = "cargo"
|
command = "cargo"
|
||||||
args = ["+nightly", "check-all-features", "--release"]
|
args = ["check-all-features", "--release"]
|
||||||
install_crate = "cargo-all-features"
|
install_crate = "cargo-all-features"
|
||||||
|
|
|
@ -1,11 +1 @@
|
||||||
extend = { path = "../cargo-make/main.toml" }
|
extend = { path = "../cargo-make/main.toml" }
|
||||||
|
|
||||||
[tasks.build]
|
|
||||||
command = "cargo"
|
|
||||||
args = ["+nightly", "build-all-features"]
|
|
||||||
install_crate = "cargo-all-features"
|
|
||||||
|
|
||||||
[tasks.check]
|
|
||||||
command = "cargo"
|
|
||||||
args = ["+nightly", "check-all-features"]
|
|
||||||
install_crate = "cargo-all-features"
|
|
||||||
|
|
|
@ -1,11 +1 @@
|
||||||
extend = { path = "../cargo-make/main.toml" }
|
extend = { path = "../cargo-make/main.toml" }
|
||||||
|
|
||||||
[tasks.build]
|
|
||||||
command = "cargo"
|
|
||||||
args = ["+nightly", "build-all-features"]
|
|
||||||
install_crate = "cargo-all-features"
|
|
||||||
|
|
||||||
[tasks.check]
|
|
||||||
command = "cargo"
|
|
||||||
args = ["+nightly", "check-all-features"]
|
|
||||||
install_crate = "cargo-all-features"
|
|
||||||
|
|
|
@ -3,13 +3,3 @@ extend = { path = "../cargo-make/main.toml" }
|
||||||
[tasks.setup-node]
|
[tasks.setup-node]
|
||||||
env = { SETUP_NODE = false }
|
env = { SETUP_NODE = false }
|
||||||
condition = { env_true = ["SETUP_NODE"] }
|
condition = { env_true = ["SETUP_NODE"] }
|
||||||
|
|
||||||
[tasks.build]
|
|
||||||
command = "cargo"
|
|
||||||
args = ["+nightly", "build-all-features"]
|
|
||||||
install_crate = "cargo-all-features"
|
|
||||||
|
|
||||||
[tasks.check]
|
|
||||||
command = "cargo"
|
|
||||||
args = ["+nightly", "check-all-features"]
|
|
||||||
install_crate = "cargo-all-features"
|
|
||||||
|
|
Loading…
Reference in New Issue