From 10e8984d933a57f378f9393ba9005f10ab905b8f Mon Sep 17 00:00:00 2001 From: rzvxa <3788964+rzvxa@users.noreply.github.com> Date: Fri, 6 Sep 2024 03:23:26 +0000 Subject: [PATCH] ci: fix paths in the `.generated_ast_watch_list.yml`. (#5520) --- .github/.generated_ast_watch_list.yml | 3 ++- tasks/ast_tools/src/main.rs | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/.generated_ast_watch_list.yml b/.github/.generated_ast_watch_list.yml index 887a9d0cf5b1a..672b12650674c 100644 --- a/.github/.generated_ast_watch_list.yml +++ b/.github/.generated_ast_watch_list.yml @@ -27,4 +27,5 @@ src: - 'crates/oxc_ast/src/generated/derive_content_hash.rs' - 'crates/oxc_regular_expression/src/generated/derive_content_hash.rs' - 'crates/oxc_syntax/src/generated/derive_content_hash.rs' - - 'tasks/ast_codegen/src/**' + - 'tasks/ast_codegen/src/**/*' + - '.github/.generated_ast_watch_list.yml' diff --git a/tasks/ast_tools/src/main.rs b/tasks/ast_tools/src/main.rs index 6f4fc02d99c68..b804b649052f2 100644 --- a/tasks/ast_tools/src/main.rs +++ b/tasks/ast_tools/src/main.rs @@ -125,7 +125,8 @@ fn write_ci_filter( push_item(side_effect.as_str()); } - push_item("tasks/ast_codegen/src/**"); + push_item("tasks/ast_codegen/src/**/*"); + push_item(output_path); write_all_to(output.as_bytes(), output_path) }