From 2bc5f45231b16c537a4bf9502f92b25ec9459753 Mon Sep 17 00:00:00 2001 From: Michail Kargakis Date: Thu, 3 Nov 2016 14:52:06 +0100 Subject: [PATCH] Add make update to update most generated stuff --- Makefile | 8 ++++++++ hack/update-all.sh | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f4485c362c..46b1d632d9 100644 --- a/Makefile +++ b/Makefile @@ -99,6 +99,14 @@ verify: KUBE_VERIFY_GIT_BRANCH=$(BRANCH) hack/make-rules/verify.sh -v hack/make-rules/vet.sh +# Runs all the generated updates. +# +# Example: +# make update +.PHONY: update +update: + hack/update-all.sh + # Build and run tests. # # Args: diff --git a/hack/update-all.sh b/hack/update-all.sh index 832eda6cd1..6a203ada2e 100755 --- a/hack/update-all.sh +++ b/hack/update-all.sh @@ -58,7 +58,8 @@ BASH_TARGETS=" generated-swagger-docs swagger-spec openapi-spec - api-reference-docs" + api-reference-docs + bazel" # TODO: (caesarxuchao) uncomment after 1.5 code freeze. # staging-client-go"