Only generate test autoloaders in dev mode

This commit is contained in:
Nabeel Shahzad 2019-05-08 07:07:24 -05:00
parent bc58a2b076
commit 52ed248f7d
2 changed files with 3 additions and 2 deletions

View File

@ -90,6 +90,8 @@ if [ "$TRAVIS" = "true" ]; then
find storage/framework/views -mindepth 1 -not -name '.gitignore' -print0 -exec rm -rf {} + find storage/framework/views -mindepth 1 -not -name '.gitignore' -print0 -exec rm -rf {} +
find storage/logs -mindepth 1 -not -name '.gitignore' -print0 -exec rm -rf {} + find storage/logs -mindepth 1 -not -name '.gitignore' -print0 -exec rm -rf {} +
# Regenerate the autoloader and classes
composer dump-autoload
make clean make clean
echo "Creating Tarball" echo "Creating Tarball"

View File

@ -68,8 +68,7 @@
], ],
"psr-4": { "psr-4": {
"App\\": "app/", "App\\": "app/",
"Modules\\": "modules/", "Modules\\": "modules/"
"Tests\\": "tests/"
} }
}, },
"autoload-dev": { "autoload-dev": {