File tree Expand file tree Collapse file tree 2 files changed +12
-13
lines changed Expand file tree Collapse file tree 2 files changed +12
-13
lines changed Original file line number Diff line number Diff line change @@ -9,4 +9,3 @@ where `<lang>` is the two character representation of a language. For example:
9
9
```
10
10
go test k8s.io/website/content/en/examples
11
11
```
12
-
Original file line number Diff line number Diff line change 1
- 注意:这些测试是从 kubernetes 导入的代码实际上并不打算在存储库之外使用。
2
- 这就导致了供应商依赖问题。因此,我们必须在 travis 配置这些行:
3
1
<!--
4
- Note: These tests are importing code from kubernetes that isn't really
5
- meant to be used outside the repo. This causes vendoring problems. As
6
- a result, we have to work around those with these lines in the travis
7
- config:
2
+ To run the tests for a localization, use the following command:
8
3
-->
4
+ 要运行本地化测试,请使用以下命令:
9
5
10
6
```
11
- - rm $GOPATH/src/k8s.io/kubernetes/vendor/k8s.io/apimachinery
12
- - rm $GOPATH/src/k8s.io/kubernetes/vendor/k8s.io/apiserver
13
- - rm $GOPATH/src/k8s.io/kubernetes/vendor/k8s.io/client-go
14
- - cp -r $GOPATH/src/k8s.io/kubernetes/vendor/* $GOPATH/src/
15
- - rm -rf $GOPATH/src/k8s.io/kubernetes/vendor/*
16
- - cp -r $GOPATH/src/k8s.io/kubernetes/staging/src/* $GOPATH/src/
7
+ go test k8s.io/website/content/<lang>/examples
8
+ ```
9
+
10
+ <!--
11
+ where `<lang>` is the two character representation of a language. For example:
12
+ -->
13
+ 其中 ` <lang> ` 是用两个字符表示一种语言。例如:
14
+
15
+ ```
16
+ go test k8s.io/website/content/en/examples
17
17
```
You can’t perform that action at this time.
0 commit comments