2022-11-03 01:46:32 +00:00
|
|
|
############
|
|
|
|
# A make file for cargo-make, please install it with:
|
|
|
|
# cargo install --force cargo-make
|
|
|
|
############
|
|
|
|
|
|
|
|
[config]
|
|
|
|
# make tasks run at the workspace root
|
|
|
|
default_to_workspace = false
|
|
|
|
|
|
|
|
[tasks.ci]
|
2023-03-03 16:50:50 +00:00
|
|
|
dependencies = ["check", "check-examples", "test"]
|
2022-11-03 01:46:32 +00:00
|
|
|
|
2023-03-03 16:50:50 +00:00
|
|
|
[tasks.check]
|
2022-11-03 01:46:32 +00:00
|
|
|
clear = true
|
2023-03-03 16:50:50 +00:00
|
|
|
dependencies = ["check-all", "check-wasm"]
|
2022-11-03 01:46:32 +00:00
|
|
|
|
2023-03-03 16:50:50 +00:00
|
|
|
[tasks.check-all]
|
2022-11-03 01:46:32 +00:00
|
|
|
command = "cargo"
|
2023-03-03 16:50:50 +00:00
|
|
|
args = ["+nightly", "check-all-features"]
|
2022-11-03 01:46:32 +00:00
|
|
|
install_crate = "cargo-all-features"
|
2023-02-12 23:58:57 +00:00
|
|
|
|
2023-03-03 16:50:50 +00:00
|
|
|
[tasks.check-wasm]
|
2023-02-13 00:39:32 +00:00
|
|
|
clear = true
|
2023-03-03 16:50:50 +00:00
|
|
|
dependencies = [{ name = "check-wasm", path = "leptos" }]
|
2022-11-03 01:46:32 +00:00
|
|
|
|
2023-02-02 01:36:37 +00:00
|
|
|
[tasks.check-examples]
|
2023-01-02 18:29:37 +00:00
|
|
|
clear = true
|
|
|
|
dependencies = [
|
2023-02-02 01:36:37 +00:00
|
|
|
{ name = "check", path = "examples/counter" },
|
|
|
|
{ name = "check", path = "examples/counter_isomorphic" },
|
|
|
|
{ name = "check", path = "examples/counter_without_macros" },
|
|
|
|
{ name = "check", path = "examples/counters" },
|
|
|
|
{ name = "check", path = "examples/counters_stable" },
|
2023-02-28 20:33:02 +00:00
|
|
|
{ name = "check", path = "examples/error_boundary" },
|
2023-02-02 01:36:37 +00:00
|
|
|
{ name = "check", path = "examples/errors_axum" },
|
|
|
|
{ name = "check", path = "examples/fetch" },
|
|
|
|
{ name = "check", path = "examples/hackernews" },
|
|
|
|
{ name = "check", path = "examples/hackernews_axum" },
|
2023-02-28 20:33:02 +00:00
|
|
|
{ name = "check", path = "examples/login_with_token_csr_only" },
|
2023-02-02 01:36:37 +00:00
|
|
|
{ name = "check", path = "examples/parent_child" },
|
|
|
|
{ name = "check", path = "examples/router" },
|
2023-02-28 20:33:02 +00:00
|
|
|
{ name = "check", path = "examples/ssr_modes" },
|
|
|
|
{ name = "check", path = "examples/ssr_modes_axum" },
|
2023-02-02 01:36:37 +00:00
|
|
|
{ name = "check", path = "examples/tailwind" },
|
|
|
|
{ name = "check", path = "examples/todo_app_sqlite" },
|
|
|
|
{ name = "check", path = "examples/todo_app_sqlite_axum" },
|
2023-02-21 17:29:15 +00:00
|
|
|
{ name = "check", path = "examples/todo_app_sqlite_viz" },
|
2023-02-02 01:36:37 +00:00
|
|
|
{ name = "check", path = "examples/todomvc" },
|
2023-01-02 18:29:37 +00:00
|
|
|
]
|
|
|
|
|
2022-11-03 01:46:32 +00:00
|
|
|
[tasks.test]
|
|
|
|
clear = true
|
|
|
|
dependencies = ["test-all"]
|
|
|
|
|
|
|
|
[tasks.test-all]
|
|
|
|
command = "cargo"
|
|
|
|
args = ["+nightly", "test-all-features"]
|
|
|
|
install_crate = "cargo-all-features"
|