Skip to content

Commit 9433057

Browse files
authored
chore(tool/cmd/migrate): add keep for root module (#4601)
Add keep for root module. For #3618
1 parent 1eadeb4 commit 9433057

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

tool/cmd/migrate/go_api.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ var (
3737
"grafeas": {"internal/version.go", "README.md"},
3838
"profiler": {"internal/version.go", "README.md"},
3939
"pubsub": {"internal/version.go", "README.md"},
40+
"root-module": {"internal/version.go", "README.md"},
4041
"run": {"apiv2/locations_client.go"},
4142
"spanner": {"README.md"},
4243
"storage": {"README.md"},

tool/cmd/migrate/legacylibrarian_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -896,6 +896,7 @@ func TestBuildGoLibraries(t *testing.T) {
896896
{
897897
Name: "root-module",
898898
Output: ".",
899+
Keep: []string{"README.md", "internal/version.go"},
899900
},
900901
},
901902
},

0 commit comments

Comments
 (0)