From 55a857f3e06da37adc0de45a3a5b43141ed7d4ed Mon Sep 17 00:00:00 2001 From: Wenyu Zhang <8836258+wenyuzhang666@users.noreply.github.com> Date: Wed, 25 Sep 2019 21:32:00 -0400 Subject: [PATCH] Add swift rewrite rules for MDFTesting. (#8504) MDFTesting rewrite rules for swift files were missing. --- .kokoro | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.kokoro b/.kokoro index ddc6f4f3863..7038c231d46 100755 --- a/.kokoro +++ b/.kokoro @@ -122,6 +122,7 @@ fix_bazel_imports() { rewrite_tests "s/import /import\/\*Material beta prefix framework import\*\/ \"Material\1Beta.h\"/" rewrite_tests "s/import /import\/\*Material prefix framework import\*\/ \"Material\1.h\"/" rewrite_tests "s/import /import \"MDFTesting.h\"/" + rewrite_tests "s/import MDFTesting/import material_testing_ios_MDFTesting/" rewrite_tests "s/import MDFTextAccessibility/import material_text_accessibility_ios_MDFTextAccessibility/" rewrite_tests "s/import MDFInternationalization/import material_internationalization_ios_MDFInternationalization/" stashed_dir="$(pwd)/" @@ -167,6 +168,7 @@ fix_bazel_imports() { rewrite_source "s/import\/\*MDC prefix framework import\*\/ \"MDC(.+)\.h\"/import /" rewrite_tests "s/import\/\*Material prefix framework import\*\/ \"Material(.+)\.h\"/import /" rewrite_tests "s/import \"MDFTesting\.h\"/import /" + rewrite_tests "s/import material_testing_ios_MDFTesting/import MDFTesting/" rewrite_tests "s/import material_text_accessibility_ios_MDFTextAccessibility/import MDFTextAccessibility/" rewrite_tests "s/import material_internationalization_ios_MDFInternationalization/import MDFInternationalization/" }