mirror of
https://github.com/shlinkio/shlink.git
synced 2025-03-14 12:11:19 +03:00
Updated how to copy mezzio helper script to dist file
This commit is contained in:
parent
5ad1a12457
commit
3e2701f136
4 changed files with 4 additions and 1 deletions
|
@ -21,3 +21,4 @@ infection*
|
|||
**/test*
|
||||
build*
|
||||
**/.*
|
||||
bin/helper
|
||||
|
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -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
|
||||
|
|
3
build.sh
3
build.sh
|
@ -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.*
|
||||
|
|
Loading…
Add table
Reference in a new issue