Updated how to copy mezzio helper script to dist file

This commit is contained in:
Alejandro Celaya 2021-01-17 13:03:44 +01:00
parent 5ad1a12457
commit 3e2701f136
4 changed files with 4 additions and 1 deletions

View file

@ -21,3 +21,4 @@ infection*
**/test*
build*
**/.*
bin/helper

1
.gitignore vendored
View file

@ -4,7 +4,6 @@ build
composer.lock
composer.phar
vendor/
!vendor/bin/mezzio-swoole
data/database.sqlite
data/shlink-tests.db
data/GeoLite2-City.mmdb

View file

@ -28,6 +28,9 @@ echo "Installing dependencies with $composerBin..."
${composerBin} self-update
${composerBin} install --no-dev --optimize-autoloader --prefer-dist --no-progress --no-interaction
# Copy mezzio helper script to vendor (deprecated - Remove with Shlink 3.0.0)
cp "${projectdir}/bin/helper/mezzio-swoole" "./vendor/bin"
# Delete development files
echo 'Deleting dev files...'
rm composer.*