-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
21 lines (14 loc) · 881 Bytes
/
Makefile
File metadata and controls
21 lines (14 loc) · 881 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
SHELL:=/bin/bash
AZURETRE_HOME?=AzureTRE
# This must come before the include statement
# Otherwise, $(lastword) will be the last included file
THIS_MAKEFILE_FULLPATH := $(abspath $(lastword $(MAKEFILE_LIST)))
THIS_MAKEFILE_DIR := $(dir $(THIS_MAKEFILE_FULLPATH))
include $(AZURETRE_HOME)/Makefile
# Add your make commands down here
# This is a sample make command to build user resource templates that are in this repo, versus the AzureTRE core repo
# Any "make bundle" command from the AzureTRE core repo can be pasted here by modifying the command name
# and modifying MAKEFILE_DIR to THIS_MAKEFILE_DIR
user_resource_bundle_sample:
$(MAKE) bundle-build bundle-publish bundle-register \
DIR="${THIS_MAKEFILE_DIR}templates/workspace_services/${WORKSPACE_SERVICE}/user_resources/${BUNDLE}" BUNDLE_TYPE=user_resource WORKSPACE_SERVICE_NAME=tre-service-${WORKSPACE_SERVICE}