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

Version Path
dependabot-composer-0.238.0 helpers/v1/build
dependabot-composer-0.237.0 helpers/v1/build
dependabot-composer-0.236.0 helpers/v1/build
dependabot-composer-0.235.0 helpers/v1/build
dependabot-composer-0.234.0 helpers/v1/build
dependabot-composer-0.233.0 helpers/v1/build
dependabot-composer-0.232.0 helpers/v1/build
dependabot-composer-0.231.0 helpers/v1/build
dependabot-composer-0.230.0 helpers/v1/build
dependabot-composer-0.229.0 helpers/v1/build
dependabot-composer-0.228.0 helpers/v1/build
dependabot-composer-0.227.0 helpers/v1/build
dependabot-composer-0.226.0 helpers/v1/build
dependabot-composer-0.225.0 helpers/v1/build
dependabot-composer-0.224.0 helpers/v1/build
dependabot-composer-0.223.0 helpers/v1/build
dependabot-composer-0.222.0 helpers/v1/build
dependabot-composer-0.221.0 helpers/v1/build
dependabot-composer-0.220.0 helpers/v1/build
dependabot-composer-0.219.0 helpers/v1/build