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