summaryrefslogtreecommitdiffstats
path: root/external-schema-repo-generator/generator/Makefile
diff options
context:
space:
mode:
authorBartosz Gardziejewski <bartosz.gardziejewski@nokia.com>2021-02-09 11:04:39 +0100
committerBartosz Gardziejewski <bartosz.gardziejewski@nokia.com>2021-02-11 12:14:35 +0100
commit1898455d2fdd4c4f1f4914119e123babed60ce61 (patch)
treec230e0f4e69e5f454ebfc12d1445431c6fbe2b4a /external-schema-repo-generator/generator/Makefile
parenta111aa071b81aaaed46e6dbc105a248152cd9ed4 (diff)
Update script to generate spec per branch
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Issue-ID: DCAEGEN2-2619 Change-Id: I8308af63b726a36f2661566cdd08a1f366052d57
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)