From d27e67f5cd8a7320cb9ad405868bbfc3c9daf532 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96mer=20Sinan=20A=C4=9Facan?= Date: Thu, 26 Oct 2023 09:29:20 +0200 Subject: [PATCH 1/2] Add .pubignores to avoid publishing test files --- protobuf/.pubignore | 1 + protoc_plugin/.pubignore | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 protobuf/.pubignore create mode 100644 protoc_plugin/.pubignore diff --git a/protobuf/.pubignore b/protobuf/.pubignore new file mode 100644 index 000000000..9daeafb98 --- /dev/null +++ b/protobuf/.pubignore @@ -0,0 +1 @@ +test diff --git a/protoc_plugin/.pubignore b/protoc_plugin/.pubignore new file mode 100644 index 000000000..2d5d4b9fc --- /dev/null +++ b/protoc_plugin/.pubignore @@ -0,0 +1,4 @@ +legacy_tests +test +protos +Makefile From 1cb4bd19f900b19e9dd00d9b216743bf9e908203 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96mer=20Sinan=20A=C4=9Facan?= Date: Thu, 26 Oct 2023 09:39:31 +0200 Subject: [PATCH 2/2] Ignore lang override in legacy tests --- protoc_plugin/legacy_tests/generated_message_test.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/protoc_plugin/legacy_tests/generated_message_test.dart b/protoc_plugin/legacy_tests/generated_message_test.dart index 77dc36d74..74a253b0d 100644 --- a/protoc_plugin/legacy_tests/generated_message_test.dart +++ b/protoc_plugin/legacy_tests/generated_message_test.dart @@ -2,6 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// ignore_for_file: illegal_language_version_override // @dart=2.11 import 'package:test/test.dart';