diff --git a/Makefile.toml b/Makefile.toml index 4eca1d2c0..352a17f94 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -8,7 +8,7 @@ default_to_workspace = false [tasks.ci] -dependencies = ["build", "build-examples", "test"] +dependencies = ["build", "check-examples", "test"] [tasks.build] clear = true @@ -19,22 +19,24 @@ command = "cargo" args = ["+nightly", "build-all-features"] install_crate = "cargo-all-features" -[tasks.build-examples] +[tasks.check-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" }, + { 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" }, + { name = "check", path = "examples/errors_axum" }, + { name = "check", path = "examples/fetch" }, + { name = "check", path = "examples/hackernews" }, + { name = "check", path = "examples/hackernews_axum" }, + { name = "check", path = "examples/parent_child" }, + { name = "check", path = "examples/router" }, + { name = "check", path = "examples/tailwind" }, + { name = "check", path = "examples/todo_app_sqlite" }, + { name = "check", path = "examples/todo_app_sqlite_axum" }, + { name = "check", path = "examples/todomvc" }, ] [tasks.test] diff --git a/examples/counter/Makefile.toml b/examples/counter/Makefile.toml index 358cd02c5..ab9175602 100644 --- a/examples/counter/Makefile.toml +++ b/examples/counter/Makefile.toml @@ -2,3 +2,8 @@ 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" diff --git a/examples/counter_isomorphic/Makefile.toml b/examples/counter_isomorphic/Makefile.toml index 358cd02c5..ab9175602 100644 --- a/examples/counter_isomorphic/Makefile.toml +++ b/examples/counter_isomorphic/Makefile.toml @@ -2,3 +2,8 @@ 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" diff --git a/examples/counter_without_macros/Makefile.toml b/examples/counter_without_macros/Makefile.toml new file mode 100644 index 000000000..ab9175602 --- /dev/null +++ b/examples/counter_without_macros/Makefile.toml @@ -0,0 +1,9 @@ +[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" diff --git a/examples/counters/Makefile.toml b/examples/counters/Makefile.toml index 358cd02c5..ab9175602 100644 --- a/examples/counters/Makefile.toml +++ b/examples/counters/Makefile.toml @@ -2,3 +2,8 @@ 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" diff --git a/examples/errors_axum/Makefile.toml b/examples/errors_axum/Makefile.toml index 358cd02c5..ab9175602 100644 --- a/examples/errors_axum/Makefile.toml +++ b/examples/errors_axum/Makefile.toml @@ -2,3 +2,8 @@ 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" diff --git a/examples/fetch/Makefile.toml b/examples/fetch/Makefile.toml index 358cd02c5..ab9175602 100644 --- a/examples/fetch/Makefile.toml +++ b/examples/fetch/Makefile.toml @@ -2,3 +2,8 @@ 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" diff --git a/examples/hackernews/Makefile.toml b/examples/hackernews/Makefile.toml index 358cd02c5..ab9175602 100644 --- a/examples/hackernews/Makefile.toml +++ b/examples/hackernews/Makefile.toml @@ -2,3 +2,8 @@ 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" diff --git a/examples/hackernews_axum/Makefile.toml b/examples/hackernews_axum/Makefile.toml index 358cd02c5..ab9175602 100644 --- a/examples/hackernews_axum/Makefile.toml +++ b/examples/hackernews_axum/Makefile.toml @@ -2,3 +2,8 @@ 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" diff --git a/examples/parent_child/Makefile.toml b/examples/parent_child/Makefile.toml index 358cd02c5..ab9175602 100644 --- a/examples/parent_child/Makefile.toml +++ b/examples/parent_child/Makefile.toml @@ -2,3 +2,8 @@ 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" diff --git a/examples/router/Makefile.toml b/examples/router/Makefile.toml index 358cd02c5..ab9175602 100644 --- a/examples/router/Makefile.toml +++ b/examples/router/Makefile.toml @@ -2,3 +2,8 @@ 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" diff --git a/examples/tailwind/Makefile.toml b/examples/tailwind/Makefile.toml index 358cd02c5..ab9175602 100644 --- a/examples/tailwind/Makefile.toml +++ b/examples/tailwind/Makefile.toml @@ -2,3 +2,8 @@ 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" diff --git a/examples/todo_app_sqlite/Makefile.toml b/examples/todo_app_sqlite/Makefile.toml index 358cd02c5..ab9175602 100644 --- a/examples/todo_app_sqlite/Makefile.toml +++ b/examples/todo_app_sqlite/Makefile.toml @@ -2,3 +2,8 @@ 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" diff --git a/examples/todo_app_sqlite_axum/Makefile.toml b/examples/todo_app_sqlite_axum/Makefile.toml index 358cd02c5..ab9175602 100644 --- a/examples/todo_app_sqlite_axum/Makefile.toml +++ b/examples/todo_app_sqlite_axum/Makefile.toml @@ -2,3 +2,8 @@ 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" diff --git a/examples/todomvc/Makefile.toml b/examples/todomvc/Makefile.toml index 358cd02c5..ab9175602 100644 --- a/examples/todomvc/Makefile.toml +++ b/examples/todomvc/Makefile.toml @@ -2,3 +2,8 @@ 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"