mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-10 14:54:16 +00:00
47 lines
1.3 KiB
TOML
47 lines
1.3 KiB
TOML
############
|
|
# 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]
|
|
dependencies = ["build", "build-examples", "test"]
|
|
|
|
[tasks.build]
|
|
clear = true
|
|
dependencies = ["build-all"]
|
|
|
|
[tasks.build-all]
|
|
command = "cargo"
|
|
args = ["+nightly", "build-all-features"]
|
|
install_crate = "cargo-all-features"
|
|
|
|
[tasks.build-examples]
|
|
clear = true
|
|
dependencies = [
|
|
{ name = "build", path = "examples/counter" },
|
|
{ name = "build", path = "examples/counter_isomorphic" },
|
|
{ name = "build", path = "examples/counters" },
|
|
{ name = "build", path = "examples/counters_stable" },
|
|
{ name = "build", path = "examples/fetch" },
|
|
{ name = "build", path = "examples/hackernews" },
|
|
{ name = "build", path = "examples/hackernews_axum" },
|
|
{ name = "build", path = "examples/parent_child" },
|
|
{ name = "build", path = "examples/router" },
|
|
{ name = "build", path = "examples/tailwind" },
|
|
{ name = "build", path = "examples/todo_app_sqlite" },
|
|
{ name = "build", path = "examples/todo_app_sqlite_axum" },
|
|
{ name = "build", path = "examples/todomvc" },
|
|
]
|
|
|
|
[tasks.test]
|
|
clear = true
|
|
dependencies = ["test-all"]
|
|
|
|
[tasks.test-all]
|
|
command = "cargo"
|
|
args = ["+nightly", "test-all-features"]
|
|
install_crate = "cargo-all-features"
|