From 2b764f2f392955a47101c9b503348b1f3fdd2794 Mon Sep 17 00:00:00 2001 From: Jeffrey Regan Date: Fri, 13 Apr 2018 09:58:49 -0700 Subject: [PATCH] Drop the init command --- Makefile | 25 ------------------------- docs/kustomize.yaml | 1 - 2 files changed, 26 deletions(-) delete mode 100644 Makefile diff --git a/Makefile b/Makefile deleted file mode 100644 index c1fefaef3..000000000 --- a/Makefile +++ /dev/null @@ -1,25 +0,0 @@ -SHELL := /bin/bash -euo pipefail - -config_file_name = kustomize.yaml -example_config = docs/$(config_file_name) - -.PHONY: all -all: docs - -# In a branch, run 'make docs' to update docs with -# generated code, then merge it to master. -docs: $(example_config) - -# Use kustomize to create the standard kustomize configuration -# file that appears in the website's documentation. -$(example_config): /tmp/bin/kustomize - rm -f TMP - echo "# This is a generated example; do not edit. Rebuild with 'make docs'." >> TMP - echo " " >> TMP - /tmp/bin/kustomize init - cat $(config_file_name) >> TMP - mv TMP $(example_config) - rm $(config_file_name) - -/tmp/bin/kustomize: - go build -o /tmp/bin/kustomize kustomize.go diff --git a/docs/kustomize.yaml b/docs/kustomize.yaml index 1f5fb695e..9252a37b2 100644 --- a/docs/kustomize.yaml +++ b/docs/kustomize.yaml @@ -1,4 +1,3 @@ -# This is a generated example; do not edit. Rebuild with 'make docs'. kustomizationName: helloworld description: helloworld does useful stuff. namePrefix: some-prefix