Skip to content

Commit

Permalink
adding filer and shortcode type
Browse files Browse the repository at this point in the history
  • Loading branch information
iruzevic committed May 13, 2024
1 parent e4d7ba8 commit c604aa5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Cli/AbstractCli.php
Original file line number Diff line number Diff line change
Expand Up @@ -621,11 +621,13 @@ public function cleanUpInitialBoilerplate(): void
*/
public function initMandatoryAfter(): void
{
$this->cliLog('Removing old vendor folder', 'C');
WP_CLI::runcommand("eval 'shell_exec(\"rm -rf vendor\");'");
$this->cliLog('Removing old compeser.lock', 'C');
WP_CLI::runcommand("eval 'shell_exec(\"rm composer.lock\");'");
$this->cliLog('--------------------------------------------------', 'C');
$this->cliLog('Running composer install', 'C');
WP_CLI::runcommand("eval 'shell_exec(\"composer install\");'");
WP_CLI::runcommand("eval 'shell_exec(\"composer install --ignore-platform-reqs\");'");
$this->cliLog('--------------------------------------------------', 'C');
$this->cliLog('Running npm install', 'C');
WP_CLI::runcommand("eval 'shell_exec(\"npm install\");'");
Expand Down

0 comments on commit c604aa5

Please sign in to comment.