-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Makefile
24 lines (19 loc) · 784 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
.PHONY: build local prepare test
build: prepare test
local:
php bin/console doctrine:database:create --if-not-exists --env=test
php bin/console doctrine:schema:create --env=test
php bin/console doctrine:fixtures:load --env=test -n
php bin/console cache:clear --env=test
prepare:
composer install --no-interaction -o --prefer-dist
php bin/console doctrine:database:create --if-not-exists --env=test
php bin/console doctrine:schema:create --env=test
php bin/console doctrine:fixtures:load --env=test -n
php bin/console cache:clear --env=test
test:
php bin/simple-phpunit --coverage-html build/coverage
reset:
php bin/console doctrine:schema:drop --force --env=test
php bin/console doctrine:schema:create --env=test
php bin/console doctrine:fixtures:load --env=test -n