aboutsummaryrefslogtreecommitdiffhomepage
path: root/infrastructure/Console/Commands/StartServerCommand.php
diff options
context:
space:
mode:
Diffstat (limited to 'infrastructure/Console/Commands/StartServerCommand.php')
-rw-r--r--infrastructure/Console/Commands/StartServerCommand.php30
1 files changed, 0 insertions, 30 deletions
diff --git a/infrastructure/Console/Commands/StartServerCommand.php b/infrastructure/Console/Commands/StartServerCommand.php
deleted file mode 100644
index 03ec6f9..0000000
--- a/infrastructure/Console/Commands/StartServerCommand.php
+++ /dev/null
@@ -1,30 +0,0 @@
-<?php
-
-namespace Infrastructure\Console\Commands;
-
-use Illuminate\Console\Command;
-
-class StartServerCommand extends Command
-{
- /**
- * The console command name.
- *
- * @var string
- */
- protected $name = 'server';
-
- /**
- * Execute the console command.
- *
- * @return void
- */
- public function fire()
- {
- $this->line('Starting server...');
- if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
- exec("wsl bash infrastructure/Console/Commands/StartServer.sh");
- } else {
- exec("bash infrastructure/Console/Commands/StartServer.sh");
- }
- }
-} \ No newline at end of file