Revised README for English examples
This commit is contained in:
@@ -1,13 +1,12 @@
|
|||||||
Note: These tests are importing code from kubernetes that isn't really
|
To run the tests for a localization, use the following command:
|
||||||
meant to be used outside the repo. This causes vendoring problems. As
|
|
||||||
a result, we have to work around those with these lines in the travis
|
|
||||||
config:
|
|
||||||
|
|
||||||
```
|
```
|
||||||
- rm $GOPATH/src/k8s.io/kubernetes/vendor/k8s.io/apimachinery
|
go test k8s.io/website/content/<lang>/examples
|
||||||
- rm $GOPATH/src/k8s.io/kubernetes/vendor/k8s.io/apiserver
|
|
||||||
- rm $GOPATH/src/k8s.io/kubernetes/vendor/k8s.io/client-go
|
|
||||||
- cp -r $GOPATH/src/k8s.io/kubernetes/vendor/* $GOPATH/src/
|
|
||||||
- rm -rf $GOPATH/src/k8s.io/kubernetes/vendor/*
|
|
||||||
- cp -r $GOPATH/src/k8s.io/kubernetes/staging/src/* $GOPATH/src/
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
where `<lang>` is the two character representation of a language. For example:
|
||||||
|
|
||||||
|
```
|
||||||
|
go test k8s.io/website/content/en/examples
|
||||||
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user