Remove bootstrap cache (#448)
* Cleanup the bootstrap/cache directory when packaging * Fix removal of bootstrap cache * Formatting
This commit is contained in:
parent
68eff40753
commit
83821d1e04
@ -91,6 +91,7 @@ if [ "$TRAVIS" = "true" ]; then
|
||||
find . -type d -name "sass-cache" -print0 | xargs rm -rf
|
||||
|
||||
# clear any app specific stuff that might have been loaded in
|
||||
find bootstrap/cache -mindepth 1 -maxdepth 1 -not -name '.gitignore' -print0 -exec rm -rf {} +
|
||||
find storage/app -mindepth 1 -maxdepth 1 -not -name '.gitignore' -not -name public -not -name import -print0 -exec rm -rf {} +
|
||||
find storage/app/public -mindepth 1 -maxdepth 1 -not -name '.gitignore' -not -name avatars -not -name uploads -print0 -exec rm -rf {} +
|
||||
find storage/app/public/avatars -mindepth 1 -not -name '.gitignore' -print0 -exec rm -rf {} +
|
||||
|
@ -25,7 +25,6 @@ use App\Models\Subfleet;
|
||||
use App\Models\User;
|
||||
use App\Repositories\SettingRepository;
|
||||
use App\Services\ModuleService;
|
||||
use Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
use Illuminate\Support\Facades\View;
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
@ -70,8 +69,10 @@ class AppServiceProvider extends ServiceProvider
|
||||
// Only load the IDE helper if it's included and enabled
|
||||
if (config('app.debug_toolbar') === true) {
|
||||
/* @noinspection NestedPositiveIfStatementsInspection */
|
||||
if (class_exists(IdeHelperServiceProvider::class)) {
|
||||
$this->app->register(IdeHelperServiceProvider::class);
|
||||
/* @noinspection PhpFullyQualifiedNameUsageInspection */
|
||||
if (class_exists(\Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class)) {
|
||||
/* @noinspection PhpFullyQualifiedNameUsageInspection */
|
||||
$this->app->register(\Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
384
composer.lock
generated
384
composer.lock
generated
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user