diff options
| author | Tim Hockin <thockin@google.com> | 2016-05-24 08:40:44 -0700 |
|---|---|---|
| committer | Tim Hockin <thockin@google.com> | 2016-07-12 21:52:00 -0700 |
| commit | 793488ebab93cd98c436bcf08de0845efe38ec1a (patch) | |
| tree | 7e5899ed9c39e1832487185e19908e231f6ca1b8 /development.md | |
| parent | 84f3c5486fcefdfb9ed0e1b0e1058c45d3464951 (diff) | |
Use make as the main build tool
This allows us to start building real dependencies into Makefile.
Leave old hack/* scripts in place but advise to use 'make'. There are a few
rules that call things like 'go run' or 'build/*' that I left as-is for now.
Diffstat (limited to 'development.md')
| -rw-r--r-- | development.md | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/development.md b/development.md index 82014e7c..4c00072e 100644 --- a/development.md +++ b/development.md @@ -71,11 +71,16 @@ up a GOPATH. To build Kubernetes using your local Go development environment (generate linux binaries): - hack/build-go.sh +```sh + make +``` + You may pass build options and packages to the script as necessary. To build binaries for all platforms: +```sh hack/build-cross.sh +``` ## Workflow @@ -314,8 +319,8 @@ Three basic commands let you run unit, integration and/or e2e tests: ```sh cd kubernetes -hack/test-go.sh # Run unit tests -hack/test-integration.sh # Run integration tests, requires etcd +make test # Run unit tests +make test-integration # Run integration tests, requires etcd go run hack/e2e.go -v --build --up --test --down # Run e2e tests ``` |
