Skip to content

Commit 9b934ec

Browse files
authored
Merge branch 'main' into generate-env-development
2 parents 959ce4a + e85101b commit 9b934ec

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

src/Commands/InitCommand.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ class InitCommand extends Command implements Isolatable
7171
'php artisan vendor:publish --tag=pint-config',
7272
'composer require --dev brainmaestro/composer-git-hooks',
7373
'./vendor/bin/cghooks update',
74+
'php artisan lang:publish',
7475
];
7576

7677
protected string $appName;

tests/InitCommandTest.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ public function testRunWithoutAdminAndReadmeCreationConvertAppNameToPascalCaseTe
4040
$this->callShellExec('php artisan vendor:publish --tag=pint-config --ansi'),
4141
$this->callShellExec('composer require --dev brainmaestro/composer-git-hooks --ansi'),
4242
$this->callShellExec('./vendor/bin/cghooks update --ansi'),
43+
$this->callShellExec('php artisan lang:publish --ansi'),
4344
);
4445

4546
$this
@@ -88,6 +89,7 @@ public function testRunWithoutAdminAndReadmeCreation()
8889
$this->callShellExec('php artisan vendor:publish --tag=pint-config --ansi'),
8990
$this->callShellExec('composer require --dev brainmaestro/composer-git-hooks --ansi'),
9091
$this->callShellExec('./vendor/bin/cghooks update --ansi'),
92+
$this->callShellExec('php artisan lang:publish --ansi'),
9193
$this->callShellExec('composer require ronasit/laravel-telescope-extension --ansi'),
9294
$this->callShellExec('php artisan telescope:install --ansi'),
9395
);
@@ -138,6 +140,7 @@ public function testRunWithAdminAndWithoutReadmeCreation()
138140
$this->callShellExec('php artisan vendor:publish --tag=pint-config --ansi'),
139141
$this->callShellExec('composer require --dev brainmaestro/composer-git-hooks --ansi'),
140142
$this->callShellExec('./vendor/bin/cghooks update --ansi'),
143+
$this->callShellExec('php artisan lang:publish --ansi'),
141144
$this->callShellExec('composer require ronasit/laravel-telescope-extension --ansi'),
142145
$this->callShellExec('php artisan telescope:install --ansi'),
143146
);
@@ -210,6 +213,7 @@ public function testRunWithAdminAndDefaultReadmeCreation()
210213
$this->callShellExec('php artisan vendor:publish --tag=pint-config --ansi'),
211214
$this->callShellExec('composer require --dev brainmaestro/composer-git-hooks --ansi'),
212215
$this->callShellExec('./vendor/bin/cghooks update --ansi'),
216+
$this->callShellExec('php artisan lang:publish --ansi'),
213217
$this->callShellExec('composer require ronasit/laravel-clerk --ansi'),
214218
$this->callShellExec('php artisan laravel-clerk:install --ansi'),
215219
$this->callShellExec('composer require ronasit/laravel-telescope-extension --ansi'),
@@ -322,6 +326,7 @@ public function testRunWithAdminAndPartialReadmeCreation()
322326
$this->callShellExec('php artisan vendor:publish --tag=pint-config --ansi'),
323327
$this->callShellExec('composer require --dev brainmaestro/composer-git-hooks --ansi'),
324328
$this->callShellExec('./vendor/bin/cghooks update --ansi'),
329+
$this->callShellExec('php artisan lang:publish --ansi'),
325330
$this->callShellExec('composer require ronasit/laravel-telescope-extension --ansi'),
326331
$this->callShellExec('php artisan telescope:install --ansi'),
327332
);
@@ -429,6 +434,7 @@ public function testRunWithAdminAndFullReadmeCreationAndRemovingInitializatorIns
429434
$this->callShellExec('php artisan vendor:publish --tag=pint-config --ansi'),
430435
$this->callShellExec('composer require --dev brainmaestro/composer-git-hooks --ansi'),
431436
$this->callShellExec('./vendor/bin/cghooks update --ansi'),
437+
$this->callShellExec('php artisan lang:publish --ansi'),
432438
$this->callShellExec('composer require ronasit/laravel-telescope-extension --ansi'),
433439
$this->callShellExec('php artisan telescope:install --ansi'),
434440
$this->callShellExec('composer require ronasit/laravel-media --ansi'),
@@ -538,6 +544,7 @@ public function testRunWithoutAdminAndUsingTelescope()
538544
$this->callShellExec('php artisan vendor:publish --tag=pint-config --ansi'),
539545
$this->callShellExec('composer require --dev brainmaestro/composer-git-hooks --ansi'),
540546
$this->callShellExec('./vendor/bin/cghooks update --ansi'),
547+
$this->callShellExec('php artisan lang:publish --ansi'),
541548
$this->callShellExec('composer require ronasit/laravel-telescope-extension --ansi'),
542549
$this->callShellExec('php artisan telescope:install --ansi'),
543550
);
@@ -654,6 +661,7 @@ public function testRunWithClerkMobileAppWithPintInstalled(): void
654661
$this->callShellExec('php artisan vendor:publish --tag=pint-config --ansi'),
655662
$this->callShellExec('composer require --dev brainmaestro/composer-git-hooks --ansi'),
656663
$this->callShellExec('./vendor/bin/cghooks update --ansi'),
664+
$this->callShellExec('php artisan lang:publish --ansi'),
657665
$this->callShellExec('composer require ronasit/laravel-clerk --ansi'),
658666
$this->callShellExec('php artisan laravel-clerk:install --ansi'),
659667
$this->callShellExec('composer require ronasit/laravel-telescope-extension --ansi'),

0 commit comments

Comments
 (0)