build-phar.sh 321 B

1234567891011121314151617
  1. #!/usr/bin/env bash
  2. git fetch origin master --tags
  3. if [ -f composer.lock ]; then
  4. rm composer.lock
  5. fi
  6. composer install --no-dev --optimize-autoloader
  7. mkdir -p build
  8. if [ ! -f box.phar ]; then
  9. wget https://github.com/box-project/box2/releases/download/2.6.0/box-2.6.0.phar -O box.phar
  10. fi
  11. php box.phar build -vv