Makefile 606 B

1234567891011121314151617
  1. adapters:="ZipAdapter" "ZipExtensionAdapter" "GNUTar\\TarGNUTarAdapter" "GNUTar\\TarGzGNUTarAdapter" "GNUTar\\TarBz2GNUTarAdapter" "BSDTar\\TarBSDTarAdapter" "BSDTar\\TarGzBSDTarAdapter" "BSDTar\\TarBz2BSDTarAdapter"
  2. .PHONY: test clean
  3. test: node_modules
  4. -./tests/bootstrap.sh stop
  5. ./tests/bootstrap.sh start
  6. sleep 1
  7. ./vendor/bin/phpunit
  8. FAILURES="";$(foreach adapter,$(adapters),ZIPPY_ADAPTER=$(adapter) ./vendor/bin/phpunit -c phpunit-functional.xml.dist || FAILURES=1;)test -z "$$FAILURES"
  9. -./tests/bootstrap.sh stop
  10. node_modules:
  11. npm install connect serve-static
  12. clean:
  13. rm -rf node_modules