# Copyright 3000 Test Tester. All rights reserved.
#
# 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)/tester_workflow_ui && npm install

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

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

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