# This file was generated by BlueCat Automation Toolkit (BATK).
# Portions which reproduce template contents from BATK are Copyright 2023 BlueCat Networks Inc.
# Other contents are owned by their authors.
mkfile_path := $(abspath $(lastword $(MAKEFILE_LIST)))
parentdir := $(shell dirname $(mkfile_path))

ui-req:
	cd $(parentdir)/test_workflow_ui && npm install

ui-build:
	cd $(parentdir)/test_workflow_ui \
		&& export NODE_ENV=production \
		&& npm run build

clean:
	rm -rf \
		$(parentdir)/../../workspace/workflows/test_workflow/fonts \
		$(parentdir)/../../workspace/workflows/test_workflow/html \
		$(parentdir)/../../workspace/workflows/test_workflow/img \
		$(parentdir)/../../workspace/workflows/test_workflow/js

purge: clean
	rm -rf $(parentdir)/test_workflow_ui/node_modules