Skip to content

Commit

Permalink
feature: rename new files using namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
glaubersilva committed Apr 12, 2024
1 parent 5f7b498 commit 37d52c4
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions build.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,21 @@
__DIR__ . "/tests/Unit/$domain"
);

rename(
__DIR__ . 'src/FormExtension/FormBuilder/ViewModels/GiveAddonViewModel.php',
__DIR__ . "src/FormExtension/FormBuilder/ViewModels/{$namespace}ViewModel.php"
);

rename(
__DIR__ . 'src/FormExtension/FormBuilder/resources/js/types/GiveAddonSettingsProps.ts',
__DIR__ . "src/FormExtension/FormBuilder/resources/js/types/{$namespace}SettingsProps.ts"
);

rename(
__DIR__ . 'src/FormExtension/FormBuilder/resources/js/interfaces/IGiveAddonFormBuilder.ts',
__DIR__ . "src/FormExtension/FormBuilder/resources/js/interfaces/I{$namespace}FormBuilder.ts"
);

unlink(__FILE__);

echo(PHP_EOL . PHP_EOL . 'All set!');
Expand Down

0 comments on commit 37d52c4

Please sign in to comment.