2023-06-02 02:12:18 +00:00
|
|
|
extend = [{ path = "./cargo-make/main.toml" }]
|
2023-04-27 21:00:13 +00:00
|
|
|
|
2023-04-21 14:33:12 +00:00
|
|
|
[env]
|
|
|
|
CARGO_MAKE_EXTEND_WORKSPACE_MAKEFILE = true
|
2023-04-22 10:50:35 +00:00
|
|
|
CARGO_MAKE_CARGO_BUILD_TEST_FLAGS = ""
|
2023-04-21 14:33:12 +00:00
|
|
|
CARGO_MAKE_WORKSPACE_EMULATION = true
|
|
|
|
CARGO_MAKE_CRATE_WORKSPACE_MEMBERS = [
|
2024-03-18 15:58:37 +00:00
|
|
|
"action-form-error-handling",
|
2023-07-26 14:43:20 +00:00
|
|
|
"animated_show",
|
|
|
|
"counter",
|
|
|
|
"counter_isomorphic",
|
|
|
|
"counters",
|
|
|
|
"counters_stable",
|
|
|
|
"counter_url_query",
|
|
|
|
"counter_without_macros",
|
2024-03-18 15:58:37 +00:00
|
|
|
"directives",
|
2023-07-26 14:43:20 +00:00
|
|
|
"error_boundary",
|
|
|
|
"errors_axum",
|
|
|
|
"fetch",
|
|
|
|
"hackernews",
|
|
|
|
"hackernews_axum",
|
2024-03-18 15:58:37 +00:00
|
|
|
"hackernews_islands_axum",
|
|
|
|
"hackernews_js_fetch",
|
2023-07-26 14:43:20 +00:00
|
|
|
"js-framework-benchmark",
|
|
|
|
"login_with_token_csr_only",
|
|
|
|
"parent_child",
|
2024-03-18 15:58:37 +00:00
|
|
|
"portal",
|
2023-07-26 14:43:20 +00:00
|
|
|
"router",
|
2024-01-16 02:02:52 +00:00
|
|
|
"server_fns_axum",
|
2023-07-26 14:43:20 +00:00
|
|
|
"session_auth_axum",
|
|
|
|
"slots",
|
2024-03-18 15:58:37 +00:00
|
|
|
"sso_auth_axum",
|
2023-07-26 14:43:20 +00:00
|
|
|
"ssr_modes",
|
|
|
|
"ssr_modes_axum",
|
2023-08-15 10:19:20 +00:00
|
|
|
"suspense_tests",
|
2023-10-13 20:20:26 +00:00
|
|
|
"tailwind_actix",
|
|
|
|
"tailwind_axum",
|
2024-03-18 15:58:37 +00:00
|
|
|
"tailwind_csr",
|
2023-07-26 14:43:20 +00:00
|
|
|
"timer",
|
|
|
|
"todo_app_sqlite",
|
|
|
|
"todo_app_sqlite_axum",
|
2024-03-18 15:58:37 +00:00
|
|
|
"todo_app_sqlite_csr",
|
2023-07-26 14:43:20 +00:00
|
|
|
"todomvc",
|
2023-04-21 14:33:12 +00:00
|
|
|
]
|
2023-06-17 22:19:01 +00:00
|
|
|
|
|
|
|
[tasks.gen-members]
|
|
|
|
workspace = false
|
|
|
|
description = "Generate the list of workspace members"
|
|
|
|
script = '''
|
|
|
|
examples=$(ls |
|
2023-09-14 20:58:46 +00:00
|
|
|
grep -v .md |
|
2023-06-17 22:19:01 +00:00
|
|
|
grep -v Makefile.toml |
|
|
|
|
grep -v cargo-make |
|
|
|
|
grep -v gtk |
|
|
|
|
jq -R -s -c 'split("\n")[:-1]')
|
|
|
|
echo "CARGO_MAKE_CRATE_WORKSPACE_MEMBERS = $examples"
|
|
|
|
'''
|
2023-07-22 12:13:49 +00:00
|
|
|
|
2023-09-04 17:25:44 +00:00
|
|
|
[tasks.test-report]
|
2023-07-22 12:13:49 +00:00
|
|
|
workspace = false
|
2024-02-11 20:16:06 +00:00
|
|
|
description = "show the cargo-make configuration for web examples [web|all|help]"
|
2024-02-09 21:31:46 +00:00
|
|
|
script = { file = "./cargo-make/scripts/web-report.sh" }
|