-
Notifications
You must be signed in to change notification settings - Fork 21
/
Makefile
28 lines (19 loc) · 666 Bytes
/
Makefile
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
default: test
build: ## Install the dependencies
composer install
update: ## Update the dependencies
composer update
test: ## Run the test suite
composer test
coverage: ## Record the test coverage
composer test -- --coverage-html=build/coverage
coverage-show: ## Show the test coverage
view-coverage
view-coverage: ## Show the test coverage
open build/coverage/index.html
clean: ## Cleanout the build folder
rm -rf build/*
full-clean: ## Cleanout build and vendor
rm -rf build/* vendor
help: ## Show help text
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'