Server IP : 162.213.251.208 / Your IP : 18.219.70.7 Web Server : LiteSpeed System : Linux business55.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : jmoroovq ( 1890) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/cpanel/ea-ruby27/src/passenger-release-6.0.23/dev/ci/tests/homebrew-packaging/ |
Upload File : |
#!/usr/bin/env bash set -e ## Begin debugging flags SKIP_TARBALL_CREATION=false SKIP_OSS_UPDATE_CHECK=false TEST_FORMULA_ARGS=() ## End debugging flags if ! $SKIP_TARBALL_CREATION; then run rm -rf pkg run bundle exec rake package:set_official package:tarball fi if [[ -e passenger.gemspec ]]; then FORMULA_FILENAME=packaging/homebrew/Formula/passenger.rb NGINX_FORMULA_ARGS=() if ! $SKIP_OSS_UPDATE_CHECK; then echo header2 "Checking whether OSS formula is up-to-date" run ./packaging/homebrew/verify-oss-formula-uptodate \ -c "$CACHE_DIR/homebrew-core.git" \ -r upstream fi else FORMULA_FILENAME=packaging/homebrew-enterprise/Formula/passenger-enterprise.rb NGINX_FORMULA_ARGS=(-g packaging/homebrew-enterprise/Formula/nginx-passenger-enterprise.rb) fi FORMULA_BASENAME=$(basename "$FORMULA_FILENAME") echo header2 "Modifying formula" run ./packaging/homebrew/modify-formula \ --passenger-dir . \ --formula "$FORMULA_FILENAME" \ --tarball pkg/*.tar.gz \ --output "pkg/$FORMULA_BASENAME" echo header2 "Testing formula" run ./packaging/homebrew/test-formula \ -p . \ -f "pkg/$FORMULA_BASENAME" \ -t pkg/*.tar.gz \ "${NGINX_FORMULA_ARGS[@]}" \ "${TEST_FORMULA_ARGS[@]}"