Skip to content

Commit

Permalink
symlink folders
Browse files Browse the repository at this point in the history
  • Loading branch information
soyuka committed Jun 18, 2024
1 parent 6b78bb4 commit 38fafc4
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 89 deletions.
12 changes: 12 additions & 0 deletions src/Laravel/workbench/app/Providers/WorkbenchServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,15 @@

namespace Workbench\App\Providers;

use Illuminate\Console\OutputStyle;
use Illuminate\Support\ServiceProvider;
use Orchestra\Testbench\Foundation\Events\ServeCommandStarted;
use Orchestra\Testbench\Workbench\Workbench;
use Orchestra\Workbench\Listeners\AddAssetSymlinkFolders;
use Symfony\Component\Console\Input\ArrayInput;
use Symfony\Component\Console\Output\NullOutput;
use Illuminate\Console\View\Components\Factory;
use Illuminate\Filesystem\Filesystem;

class WorkbenchServiceProvider extends ServiceProvider
{
Expand All @@ -29,5 +37,9 @@ public function register(): void
*/
public function boot(): void
{
$assets = new AddAssetSymlinkFolders(Workbench::configuration(), $this->app->make(Filesystem::class));
$input = new ArrayInput([]);
$output = new NullOutput();
$assets->handle(new ServeCommandStarted($input, $output, new Factory(new OutputStyle($input, $output))));
}
}
Empty file.
Empty file.
30 changes: 0 additions & 30 deletions src/Laravel/workbench/routes/api.php

This file was deleted.

30 changes: 0 additions & 30 deletions src/Laravel/workbench/routes/console.php

This file was deleted.

29 changes: 0 additions & 29 deletions src/Laravel/workbench/routes/web.php

This file was deleted.

0 comments on commit 38fafc4

Please sign in to comment.