Skip to content

Commit 2844fe8

Browse files
authored
Update cleanup directory defaults (#467)
* update cleanup files defaults * add default cleanup_exclude_files to internal config * remove vendor/bin & add */tests to exclude list * remove MinifyApplication command * remove php compactor * moved internal cleanup_exclude files back again This is hard to test when the config I'm asserting on lives on a different repo from the test itself.
1 parent dfcd9e2 commit 2844fe8

File tree

4 files changed

+2
-304
lines changed

4 files changed

+2
-304
lines changed

config/nativephp.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@
6161
*/
6262
'cleanup_exclude_files' => [
6363
'content',
64-
'storage/app/framework/{sessions,testing,cache}',
65-
'storage/logs/laravel.log',
64+
'node_modules',
65+
'*/tests'
6666
],
6767

6868
/**

src/Commands/MinifyApplicationCommand.php

-111
This file was deleted.

src/Compactor/Php.php

-189
This file was deleted.

src/NativeServiceProvider.php

-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
use Native\Laravel\Commands\LoadPHPConfigurationCommand;
1313
use Native\Laravel\Commands\LoadStartupConfigurationCommand;
1414
use Native\Laravel\Commands\MigrateCommand;
15-
use Native\Laravel\Commands\MinifyApplicationCommand;
1615
use Native\Laravel\Commands\SeedDatabaseCommand;
1716
use Native\Laravel\Contracts\ChildProcess as ChildProcessContract;
1817
use Native\Laravel\Contracts\GlobalShortcut as GlobalShortcutContract;
@@ -39,7 +38,6 @@ public function configurePackage(Package $package): void
3938
MigrateCommand::class,
4039
FreshCommand::class,
4140
SeedDatabaseCommand::class,
42-
MinifyApplicationCommand::class,
4341
])
4442
->hasConfigFile()
4543
->hasRoute('api')

0 commit comments

Comments
 (0)