-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
30 lines (23 loc) · 751 Bytes
/
Makefile
File metadata and controls
30 lines (23 loc) · 751 Bytes
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
.PHONY: help coverage test install autoload update
help:
@echo "Uso 'make <target>'"
@echo " help => mostra este menu de ajuda"
@echo " coverage => mostra o relatório de cobertura de testes"
@echo " test => roda todos os testes"
@echo " install => instala o projeto"
@echo " autoload => gera um novo autoloader"
@echo " update => atualiza as dependências"
@echo " clean => apaga todas as dependências"
coverage:
php phpunit.phar --coverage-text
test:
php phpunit.phar
install: clean
php ./build/deploy.php
autoload:
php composer.phar dump-autoload --profile -v
update:
php composer.phar update --profile -v --optimize-autoloader
clean:
-rm -rf vendor
-rm -rf composer.phar