Sha256: 036ebb96f4ea6487f8fc140868969a0ae222a995719e4b21ae940f15e3405b65

Contents?: true

Size: 730 Bytes

Versions: 65

Compression:

Stored size: 730 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/v2"
mkdir -p $install_dir

helpers_dir="$(dirname "${BASH_SOURCE[0]}")"
cp -r \
  "$helpers_dir/bin" \
  "$helpers_dir/src" \
  "$helpers_dir/.php-cs-fixer.php" \
  "$helpers_dir/composer.json" \
  "$helpers_dir/composer.lock" \
  "$helpers_dir/phpstan.neon" \
  "$install_dir"

cd "$install_dir"

composer validate --no-check-publish
composer install
composer run lint -- --dry-run
composer 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

65 entries across 65 versions & 1 rubygems

Version Path
dependabot-composer-0.207.0 helpers/v2/build
dependabot-composer-0.206.0 helpers/v2/build
dependabot-composer-0.205.1 helpers/v2/build
dependabot-composer-0.205.0 helpers/v2/build
dependabot-composer-0.204.0 helpers/v2/build
dependabot-composer-0.203.0 helpers/v2/build
dependabot-composer-0.202.0 helpers/v2/build
dependabot-composer-0.201.1 helpers/v2/build
dependabot-composer-0.201.0 helpers/v2/build
dependabot-composer-0.200.0 helpers/v2/build
dependabot-composer-0.199.0 helpers/v2/build
dependabot-composer-0.198.0 helpers/v2/build
dependabot-composer-0.197.0 helpers/v2/build
dependabot-composer-0.196.4 helpers/v2/build
dependabot-composer-0.196.3 helpers/v2/build
dependabot-composer-0.196.2 helpers/v2/build
dependabot-composer-0.196.1 helpers/v2/build
dependabot-composer-0.196.0 helpers/v2/build
dependabot-composer-0.195.0 helpers/v2/build
dependabot-composer-0.194.1 helpers/v2/build