Makefile 613 B

1234567891011121314151617181920212223242526272829303132
  1. install: composer.phar
  2. ./composer.phar install
  3. update: composer.phar
  4. ./composer.phar self-update
  5. ./composer.phar update
  6. test: composer.lock
  7. ./vendor/bin/phpunit
  8. cs-check: composer.lock
  9. ./vendor/bin/phpcs --standard=codestandard.xml lib tests
  10. coverage: composer.lock build
  11. ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml
  12. ./vendor/bin/php-coveralls -v
  13. composer.phar:
  14. curl -s http://getcomposer.org/installer | php
  15. composer.lock: composer.phar
  16. ./composer.phar --no-interaction install
  17. vendor/bin/phpunit: install
  18. build:
  19. mkdir build
  20. clean:
  21. rm composer.phar
  22. rm -r vendor
  23. rm -r build