Merge pull request #9222 from adamreese/chore/makefile-golden

chore(Makefile): add target to generate golden files
pull/9232/head
Adam Reese 4 years ago committed by GitHub
commit ab12382ddc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -139,6 +139,13 @@ coverage:
format: $(GOIMPORTS)
GO111MODULE=on go list -f '{{.Dir}}' ./... | xargs $(GOIMPORTS) -w -local helm.sh/helm
# Generate golden files used in unit tests
.PHONY: gen-test-golden
gen-test-golden:
gen-test-golden: PKG = ./cmd/helm ./pkg/action
gen-test-golden: TESTFLAGS = -update
gen-test-golden: test-unit
# ------------------------------------------------------------------------------
# dependencies

Loading…
Cancel
Save