-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #254 from j0k3r/makefile
Makefile
- Loading branch information
Showing
5 changed files
with
135 additions
and
169 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
.PHONY: build clean-local local clean prepare phpunit | ||
|
||
build: prepare phpunit | ||
|
||
clean-local: | ||
rm -rf build | ||
rm -rf var/cache | ||
|
||
local: clean-local | ||
mkdir -p build/coverage | ||
mkdir -p build/logs | ||
mkdir -p var/cache | ||
php bin/console doctrine:mongodb:schema:create --env=test | ||
php bin/console doctrine:mongodb:fixtures:load --env=test -n | ||
php bin/console cache:clear --env=test | ||
|
||
clean: | ||
rm -rf build/coverage | ||
rm -rf build/logs | ||
rm -rf var/cache | ||
|
||
prepare: clean | ||
mkdir -p build/coverage | ||
mkdir -p build/logs | ||
mkdir -p var/cache | ||
composer install --no-interaction -o --prefer-dist | ||
php bin/console doctrine:mongodb:schema:create --env=test | ||
php bin/console doctrine:mongodb:fixtures:load --env=test -n | ||
php bin/console cache:clear --env=test | ||
|
||
phpunit: | ||
php bin/simple-phpunit --coverage-html build/coverage |
Oops, something went wrong.