cli-barcode PHP
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

36 rivejä
978 B

  1. # vim: tabstop=4:softtabstop=4:shiftwidth=4:noexpandtab
  2. help:
  3. @echo "Usual targets:"
  4. @echo " test - run test suites"
  5. @echo ""
  6. @echo "Other targets:"
  7. @echo " install-composer - install composer"
  8. @echo " install-dependencies - install/update all vendor libraries using composer"
  9. @echo " install-dev-dependencies - install/update all vendor libraries necessary for development"
  10. @echo ""
  11. @exit 0
  12. test:
  13. @vendor/bin/phpunit
  14. install-composer:
  15. @if [ ! -d ./bin ]; then mkdir bin; fi
  16. @if [ ! -f ./bin/composer.phar ]; then curl -s http://getcomposer.org/installer | php -n -d allow_url_fopen=1 -d date.timezone="Europe/Berlin" -- --install-dir=./bin/; fi
  17. install-dependencies:
  18. @make install-composer
  19. @php -n -d allow_url_fopen=1 -d date.timezone="Europe/Berlin" ./bin/composer.phar -- update
  20. install-dev-dependencies:
  21. @make install-composer
  22. @php -n -d allow_url_fopen=1 -d date.timezone="Europe/Berlin" ./bin/composer.phar update --dev
  23. .PHONY: test help