3
0

Add reporter to the list of apps for 'make webapp'

This commit is contained in:
Denis Arh
2021-09-29 15:30:55 +02:00
parent 9907a74a93
commit 90a2f2301d

View File

@@ -5,7 +5,7 @@ WGET_FLAGS ?= -q
TAR ?= tar
TAR_FLAGS ?= -xzmok
RELEASE_PAGE ?= https://releases.cortezaproject.org/files
APPS ?= admin compose workflow
APPS ?= admin compose workflow reporter
ALL_APPS ?= $(APPS) one
VERSION ?= $(shell git describe --tags --abbrev=0)
PACKAGES = $(addprefix corteza-webapp-,$(addsuffix -$(VERSION).tar.gz,$(ALL_APPS)))
@@ -22,6 +22,7 @@ install-packages: $(PACKAGES)
@ $(TAR) $(TAR_FLAGS) -f corteza-webapp-admin-$(VERSION).tar.gz -C public/admin
@ $(TAR) $(TAR_FLAGS) -f corteza-webapp-compose-$(VERSION).tar.gz -C public/compose
@ $(TAR) $(TAR_FLAGS) -f corteza-webapp-workflow-$(VERSION).tar.gz -C public/workflow
@ $(TAR) $(TAR_FLAGS) -f corteza-webapp-reporter-$(VERSION).tar.gz -C public/reporter
download: $(PACKAGES)
@@ -35,6 +36,7 @@ install-fresh: build
@ cp -r $(SOURCE_LOC)admin/dist public/admin
@ cp -r $(SOURCE_LOC)compose/dist public/compose
@ cp -r $(SOURCE_LOC)workflow/dist public/workflow
@ cp -r $(SOURCE_LOC)reporter/dist public/reporter
build: $(SOURCES)