Skip to content

Commit

Permalink
Merge branch '1.x' into 2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
crynobone committed Oct 16, 2023
2 parents 19f2563 + 5292a83 commit 1dae72d
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 94 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ $ vendor/bin/phpunit

If the test suite passes on your local machine you should be good to go.

When you make a pull request, the tests will automatically be run again by GitHub Actions on multiple php versions and hhvm.
When you make a pull request, the tests will automatically be run again by [Travis CI](https://travis-ci.org/) on multiple php versions and hhvm.
46 changes: 16 additions & 30 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,33 +9,19 @@ Workbench Component is a simple package that has been designed to help you previ
[![Latest Unstable Version](https://poser.pugx.org/orchestra/workbench/v/unstable)](https://packagist.org/packages/orchestra/workbench)
[![License](https://poser.pugx.org/orchestra/workbench/license)](https://packagist.org/packages/orchestra/workbench)

### `testbench.yaml` Example

```yaml
workbench:
welcome: true
install: true
start: /nova
user: [email protected]
guard: web
sync:
- from: ./public/
to: public/vendor/nova
build:
- asset-publish
- create-sqlite-db
- migrate:refresh
assets:
- nova-assets

purge:
directories: []
files: []
```
### Commands
* `workbench:install`
* `workbench:build`
* `workbench:create-sqlite-db`
* `workbench:drop-sqlite-db`
## Official Documentation

Documentation for Workbench can be found on the [packages.tools/workbench](https://packages.tools/workbench).

## Contributing

Thank you for considering contributing to Workbench! You can read the contribution guide [here](CONTRIBUTING.md).

## Code of Conduct

In order to ensure that the community is welcoming to all, please review and abide by the [Code of Conduct](CODE_OF_CONDUCT.md).

## License

Workbench is open-sourced software licensed under the [MIT license](LICENSE).

58 changes: 0 additions & 58 deletions src/Bootstrap/DiscoverRoutes.php

This file was deleted.

5 changes: 0 additions & 5 deletions src/WorkbenchServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
use Illuminate\Contracts\Http\Kernel as HttpKernel;
use Illuminate\Support\ServiceProvider;
use Orchestra\Canvas\Core\PresetManager;
use Orchestra\Testbench\Contracts\Config;
use Orchestra\Testbench\Foundation\Events\ServeCommandEnded;
use Orchestra\Testbench\Foundation\Events\ServeCommandStarted;

Expand Down Expand Up @@ -55,9 +54,5 @@ public function boot(): void
$event->listen(ServeCommandEnded::class, [Listeners\RemoveAssetSymlinkFolders::class, 'handle']);
});
}

$this->callAfterResolving(Config::class, static function ($config, $app) {
(new Bootstrap\DiscoverRoutes())->bootstrap($app);
});
}
}

0 comments on commit 1dae72d

Please sign in to comment.