-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathMakefile
More file actions
56 lines (45 loc) · 1.44 KB
/
Makefile
File metadata and controls
56 lines (45 loc) · 1.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#!make
-include .makerc-vars ### Default make variables
-include custom/makefiles/.makerc-custom ### Custom (team/org) make functions
-include personal/.makerc-personal ### Your personalized make functions
-include .makerc ### Default initialization file
export
.DEFAULT_GOAL := help
## help: List all available make commands with descriptions
.PHONY: help
help:
@echo ${LOGO} | base64 -d
@echo
@sed -nr 's/^##\s+/\t/p' ${MAKEFILE_LIST} | column -t -s ':'
## update: Check for Catapult updates
.PHONY: update
update:
@${ROOT_DIR}/scripts/general/update-catapult.sh
## start: Start Catapult (if not running) and enter it
.PHONY: start
start:
@${ROOT_DIR}/scripts/general/start.sh
## restart: Restarts Catapult and enters it
.PHONY: restart
restart:
@${ROOT_DIR}/scripts/general/start.sh restart
## stop: Stop and remove Catapult container
.PHONY: stop
stop:
@${ROOT_DIR}/scripts/general/start.sh stop
## clean: Stop and remove Catapult container and Docker image
.PHONY: clean
clean:
@${MAKEVAR_SUDO_COMMAND} ${ROOT_DIR}/scripts/general/cleanup.sh
## customizations: Pulls the latest Catapult customizations if they exist
.PHONY: customizations
customizations:
@${ROOT_DIR}/scripts/general/catapult-customizer.sh
## build: Build Catapult image locally (for development & testing)
.PHONY: build
build:
@${ROOT_DIR}/scripts/general/build.sh
## print-variables: Print environment variables (for debugging)
.PHONY: print-variables
print-variables:
@env | sort