Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed Sep 20, 2023
1 parent 2ee1c5d commit 8232da2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bin/sync
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ $workingPath = getcwd();

require __DIR__.'/../vendor/autoload.php';

use function Laravel\Prompts\{spin};

spin(function () use ($workingPath) {

$files = new Illuminate\Filesystem\Filesystem();

Illuminate\Support\Collection::make([
Expand Down Expand Up @@ -90,3 +94,5 @@ transform([
], fn ($changes) => $files->replaceInFile(array_keys($changes), array_values($changes), "{$workingPath}/src/Console/stubs/user-factory.stub"));

$files->deleteDirectory("{$workingPath}/skeleton");

}, 'Sync project');

0 comments on commit 8232da2

Please sign in to comment.