8000 Pre & Post Build Command Support by PeteBishwhip · Pull Request #167 · NativePHP/electron · GitHub
[go: up one dir, main page]

Skip to content

Pre & Post Build Command Support #167

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Feb 22, 2025
Prev Previous commit
Next Next commit
Remove no-longer necessary keys
  • Loading branch information
Pete Bishop committed Feb 18, 2025
commit ec176cdd4660581d2e554b9de79cbffb8566bfef
4 changes: 2 additions & 2 deletions src/Commands/BuildCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function handle(): void
{
$this->info('Build NativePHP app…');

$this->preProcess('build');
$this->preProcess();

Process::path(__DIR__.'/../../resources/js/')
->env($this->getEnvironmentVariables())
Expand Down Expand Up @@ -69,7 +69,7 @@ public function handle(): void
echo $output;
});

$this->postProcess('build');
$this->postProcess();
}

protected function getEnvironmentVariables(): array
Expand Down
Loading
0