From b640dffb0aa62020799ecff170272462746001f1 Mon Sep 17 00:00:00 2001 From: Devon Carew Date: Tue, 11 Jun 2024 18:09:59 +0000 Subject: [PATCH] [third_party] misc updates for the gitignore files Change-Id: Ie3b816725128b27f3b48f9cb11e2c78ff3977652 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/370981 Commit-Queue: Devon Carew Reviewed-by: Elliott Brooks --- third_party/.gitignore | 27 +++++++++---------- third_party/pkg/dap/.gitignore | 2 ++ .../pkg/language_server_protocol/.gitignore | 2 ++ .../analysis_options.yaml | 1 + 4 files changed, 18 insertions(+), 14 deletions(-) create mode 100644 third_party/pkg/dap/.gitignore create mode 100644 third_party/pkg/language_server_protocol/.gitignore create mode 100644 third_party/pkg/language_server_protocol/analysis_options.yaml diff --git a/third_party/.gitignore b/third_party/.gitignore index 2df1369e0e6..6a597b6325c 100644 --- a/third_party/.gitignore +++ b/third_party/.gitignore @@ -1,10 +1,10 @@ -# Ignore everything in third_party except for specific -# directories. +# Ignore everything in third_party except for specific directories. # # The forward-slash is necessary to gitignore everything # except for specific directories (configured below). # See https://git-scm.com/docs/gitignore#_examples /* + # Do not ignore the following: !.gitignore !binaryen @@ -13,20 +13,19 @@ !clang.tar.gz.sha1 !unittest.tar.gz.sha1 !update.sh -!/wasmer -# First exclude pkg from the gitignore, then re-ignore all its -# contents. See https://github.com/dart-lang/pub/issues/4300 +!fallback_root_certificates + +# First exclude pkg from the gitignore, then re-ignore all its contents. +# See https://github.com/dart-lang/pub/issues/4300. !/pkg/ /pkg/* -!/pkg/dap -!/pkg/dap/* -/pkg/dap/pubspec.lock -/pkg/dap/.dart_tool -!/pkg/language_server_protocol -!/pkg/language_server_protocol/* -/pkg/language_server_protocol/pubspec.lock -/pkg/language_server_protocol/.dart_tool + !/pkg/native_assets_builder.status !/pkg/native_assets_cli.status !/pkg/native_toolchain_c.status -!fallback_root_certificates \ No newline at end of file + +# These packages are authored in third_party. +!/pkg/dap +!/pkg/dap/* +!/pkg/language_server_protocol +!/pkg/language_server_protocol/* diff --git a/third_party/pkg/dap/.gitignore b/third_party/pkg/dap/.gitignore new file mode 100644 index 00000000000..d19a53a2ff0 --- /dev/null +++ b/third_party/pkg/dap/.gitignore @@ -0,0 +1,2 @@ +pubspec.lock +.dart_tool/ diff --git a/third_party/pkg/language_server_protocol/.gitignore b/third_party/pkg/language_server_protocol/.gitignore new file mode 100644 index 00000000000..d19a53a2ff0 --- /dev/null +++ b/third_party/pkg/language_server_protocol/.gitignore @@ -0,0 +1,2 @@ +pubspec.lock +.dart_tool/ diff --git a/third_party/pkg/language_server_protocol/analysis_options.yaml b/third_party/pkg/language_server_protocol/analysis_options.yaml new file mode 100644 index 00000000000..572dd239d09 --- /dev/null +++ b/third_party/pkg/language_server_protocol/analysis_options.yaml @@ -0,0 +1 @@ +include: package:lints/recommended.yaml