Remove redundant index.php from doctrine mapping during build
[MAILPOET-2233]
This commit is contained in:
committed by
Jan Jakeš
parent
8198bfaf14
commit
ca7bbf1625
2
build.sh
2
build.sh
@@ -142,6 +142,8 @@ cp uninstall.php $plugin_name
|
|||||||
# Add index files if they don't exist to all folders
|
# Add index files if they don't exist to all folders
|
||||||
echo '[BUILD] Adding index files to all project folders'
|
echo '[BUILD] Adding index files to all project folders'
|
||||||
find $plugin_name -type d -exec touch {}/index.php \;
|
find $plugin_name -type d -exec touch {}/index.php \;
|
||||||
|
# Remove second index.php from Doctrine directory
|
||||||
|
rm -f $plugin_name/vendor-prefixed/doctrine/orm/lib/Doctrine/ORM/Mapping/index.php
|
||||||
|
|
||||||
# Zip final release.
|
# Zip final release.
|
||||||
echo '[BUILD] Creating final release zip'
|
echo '[BUILD] Creating final release zip'
|
||||||
|
Reference in New Issue
Block a user