summaryrefslogtreecommitdiffstats
path: root/external-schema-repo-generator/generator/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'external-schema-repo-generator/generator/Makefile')
-rw-r--r--external-schema-repo-generator/generator/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/external-schema-repo-generator/generator/Makefile b/external-schema-repo-generator/generator/Makefile
new file mode 100644
index 0000000..93f3226
--- /dev/null
+++ b/external-schema-repo-generator/generator/Makefile
@@ -0,0 +1,12 @@
+include environment.config
+
+all: generate install
+
+generate: clean
+ ./generate.sh $(REPOSITORY_URL_HTTPS) $(REPOSITORY_BRANCH) $(SCHEMAS_LOCATION) $(VENDOR_NAME) $(EXTERNAL_REPO_CONFIGMAP_FILENAME_PREFIX) $(EXTERNAL_REPO_CONFIGMAP_NAME_PREFIX) $(SNIPPET_FILENAME) $(EXTERNAL_REPO_CONFIGMAP_DIRECTORY) $(GENERATION_DIRECTORY)
+
+install:
+ ./install.sh $(EXTERNAL_REPO_CONFIGMAP_FILENAME_PREFIX) $(EXTERNAL_REPO_CONFIGMAP_NAME_PREFIX) $(EXTERNAL_REPO_CONFIGMAP_DIRECTORY) $(GENERATION_DIRECTORY)
+
+clean:
+ ./clean.sh $(GENERATION_DIRECTORY)