Skip to content

Commit

Permalink
Pass StarterKitPostInstall.php export tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
jesseleite committed Dec 3, 2024
1 parent 61a1216 commit a7ae78f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Console/Commands/StarterKitExport.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,11 @@ protected function askToMigrateToPackageFolder(): void
$this->components->info('Starter kit config moved to [package/starter-kit.yaml].');
}

if (File::exists($postInstallHook = base_path('StarterKitPostInstall.php'))) {
File::move($postInstallHook, base_path('package/StarterKitPostInstall.php'));
$this->components->info('Starter kit post-install hook moved to [package/StarterKitPostInstall.php].');
}

if (File::exists($packageComposerJson = $this->getAbsolutePath().'/composer.json')) {
File::move($packageComposerJson, base_path('package/composer.json'));
$this->components->info('Composer package config moved to [package/composer.json].');
Expand Down

0 comments on commit a7ae78f

Please sign in to comment.