Skip to content
This repository was archived by the owner on Aug 24, 2022. It is now read-only.

Commit c91c5d4

Browse files
committed
GAE 打包 goroot.zip 是先忽略翻译目录中的 tour 和 talks
1 parent 946040c commit c91c5d4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

appengine/main.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,12 @@ func isIngoreFile(path string) bool {
8888
if strings.HasPrefix(path, "translations/.git") {
8989
return true
9090
}
91+
if strings.HasPrefix(path, "translations/talks") {
92+
return true
93+
}
94+
if strings.HasPrefix(path, "translations/tour") {
95+
return true
96+
}
9197
switch strings.ToLower(filepath.Ext(path)) {
9298
case ".exe", ".dll":
9399
return true

0 commit comments

Comments
 (0)