From fda4dba2370fdb4f5f81961bdeb7ca139d2e612d Mon Sep 17 00:00:00 2001 From: Joseph Cruz Date: Mon, 18 Mar 2024 11:58:37 -0400 Subject: [PATCH] build(examples): clean more output (#2420) * chore(examples): update workspace members * build(examples): clean e2e crates * build(examples): clean pkg directories * chore: remove simulated change comment * chore: add simulated change * chore: remove simulated change --- examples/Makefile.toml | 9 ++++++++- examples/cargo-make/clean.toml | 11 +++++++++-- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/examples/Makefile.toml b/examples/Makefile.toml index 48a0a3a417..d717e26f57 100644 --- a/examples/Makefile.toml +++ b/examples/Makefile.toml @@ -5,6 +5,7 @@ CARGO_MAKE_EXTEND_WORKSPACE_MAKEFILE = true CARGO_MAKE_CARGO_BUILD_TEST_FLAGS = "" CARGO_MAKE_WORKSPACE_EMULATION = true CARGO_MAKE_CRATE_WORKSPACE_MEMBERS = [ + "action-form-error-handling", "animated_show", "counter", "counter_isomorphic", @@ -12,27 +13,33 @@ CARGO_MAKE_CRATE_WORKSPACE_MEMBERS = [ "counters_stable", "counter_url_query", "counter_without_macros", + "directives", "error_boundary", "errors_axum", "fetch", "hackernews", "hackernews_axum", + "hackernews_islands_axum", + "hackernews_js_fetch", "js-framework-benchmark", "login_with_token_csr_only", "parent_child", + "portal", "router", "server_fns_axum", "session_auth_axum", "slots", + "sso_auth_axum", "ssr_modes", "ssr_modes_axum", "suspense_tests", "tailwind_actix", - "tailwind_csr", "tailwind_axum", + "tailwind_csr", "timer", "todo_app_sqlite", "todo_app_sqlite_axum", + "todo_app_sqlite_csr", "todomvc", ] diff --git a/examples/cargo-make/clean.toml b/examples/cargo-make/clean.toml index 9b1a72e9b6..febf709709 100644 --- a/examples/cargo-make/clean.toml +++ b/examples/cargo-make/clean.toml @@ -4,11 +4,13 @@ dependencies = [ "clean-trunk", "clean-node_modules", "clean-playwright", + "clean-pkg", ] [tasks.clean-cargo] -command = "rm" -args = ["-rf", "target"] +script = ''' +find . -type d -name target | xargs rm -rf +''' [tasks.clean-trunk] script = ''' @@ -27,3 +29,8 @@ fi script = ''' find . -name playwright-report -name playwright -name test-results | xargs rm -rf ''' + +[tasks.clean-pkg] +script = ''' +find . -type d -name pkg | xargs rm -rf +'''