Skip to content

Commit b6a4a0d

Browse files
caendesilvagithub-actions[bot]
authored andcommitted
Update realtime compiler testing workflow hydephp/develop@4cbafb2
1 parent dd4172f commit b6a4a0d

File tree

4 files changed

+2
-171
lines changed

4 files changed

+2
-171
lines changed

bin/server.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
11
<?php
22

33
try {
4-
define('BASE_PATH', isset($_SERVER['HERD_SITE_PATH']) ? realpath($_SERVER['HERD_SITE_PATH']) : realpath(getcwd()));
4+
define('BASE_PATH', realpath(getcwd()));
55
define('HYDE_START', microtime(true));
66

7-
if (isset($_SERVER['HERD_SITE_PATH'])) {
8-
chdir($_SERVER['HERD_SITE_PATH']);
9-
}
10-
117
require getenv('HYDE_AUTOLOAD_PATH') ?: BASE_PATH.'/vendor/autoload.php';
128

139
try {

resources/stubs/HydeValetDriver.php

Lines changed: 0 additions & 93 deletions
This file was deleted.

src/Console/Commands/HerdInstallCommand.php

Lines changed: 0 additions & 65 deletions
This file was deleted.

src/RealtimeCompilerServiceProvider.php

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,15 @@
55
namespace Hyde\RealtimeCompiler;
66

77
use Illuminate\Support\ServiceProvider;
8-
use Hyde\RealtimeCompiler\Http\DashboardController;
98
use Hyde\RealtimeCompiler\Http\LiveEditController;
9+
use Hyde\RealtimeCompiler\Http\DashboardController;
1010
use Hyde\RealtimeCompiler\Http\VirtualRouteController;
11-
use Hyde\RealtimeCompiler\Console\Commands\HerdInstallCommand;
1211

1312
class RealtimeCompilerServiceProvider extends ServiceProvider
1413
{
1514
public function register(): void
1615
{
1716
$this->app->singleton(RealtimeCompiler::class);
18-
19-
if ($this->app->runningInConsole()) {
20-
$this->commands([
21-
HerdInstallCommand::class,
22-
]);
23-
}
2417
}
2518

2619
public function boot(): void

0 commit comments

Comments
 (0)