Sha256: c467051e926fd065fcc2c153fc93d14bed101527a6cd527c4268a5fd3030fae2
Contents?: true
Size: 748 Bytes
Versions: 28
Compression:
Stored size: 748 Bytes
Contents
#!/bin/bash set -e if [ -z "$DEPENDABOT_NATIVE_HELPERS_PATH" ]; then echo "Unable to build, DEPENDABOT_NATIVE_HELPERS_PATH is not set" exit 1 fi install_dir="$DEPENDABOT_NATIVE_HELPERS_PATH/composer/v1" mkdir -p "$install_dir" helpers_dir="$(dirname "${BASH_SOURCE[0]}")" cp -r \ "$helpers_dir/bin" \ "$helpers_dir/src" \ "$helpers_dir/.php-cs-fixer.dist.php" \ "$helpers_dir/composer.json" \ "$helpers_dir/composer.lock" \ "$helpers_dir/phpstan.dist.neon" \ "$install_dir" cd "$install_dir" composer1 validate --no-check-publish composer1 install composer1 run lint -- --dry-run composer1 run stan # Composer caches source zips and repo metadata, none of which is useful. Save space in this layer rm -Rf ~/.composer/cache
Version data entries
28 entries across 28 versions & 1 rubygems