-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
38 lines (25 loc) · 1.16 KB
/
Makefile
File metadata and controls
38 lines (25 loc) · 1.16 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
###############################################################################
# Puzzle Query Builder
###############################################################################
HOST_SOURCE_PATH=$(shell dirname $(realpath $(firstword $(MAKEFILE_LIST))))
USER_ID=$(shell id -u)
GROUP_ID=$(shell id -g)
export USER_ID
export GROUP_ID
#------------------------------------------------------------------------------
include makefiles/composer.mk
include makefiles/phpunit.mk
include makefiles/whalephant.mk
#------------------------------------------------------------------------------
.DEFAULT_GOAL := help
init: composer-install
help:
@echo "========================================"
@echo "PUZZLE Query Builder"
@echo "========================================"
@awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {printf "\033[36m%-15s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST)
@echo "========================================"
#------------------------------------------------------------------------------
clean: clean-composer clean-phpunit clean-whalephant
#------------------------------------------------------------------------------
.PHONY: init help clean