Skip to content

Commit

Permalink
[Fix] config:remove-dev-modules local instead of remote
Browse files Browse the repository at this point in the history
- Issue #23
  • Loading branch information
jalogut committed Oct 19, 2018
1 parent 93c45a8 commit f8615cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions recipe/magento_2_2.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
desc('Build Artifact');
task('build', function () {
set('deploy_path', '.');
set('release_path', '.');
set('current_path', '.');
$origStaticOptions = get('static_deploy_options');
set('static_deploy_options', '-f ' . $origStaticOptions);
Expand Down
4 changes: 3 additions & 1 deletion recipe/magento_2_2/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@
writeln('Not installed: ' . $module);
}
}
\file_put_contents($configFile, "<?php\nreturn " . \var_export($config, true) . ';');
$updatedConfig = "<?php\nreturn " . \var_export($config, true) . ";";
$updatedConfigEof = "\n".$updatedConfig."\nEOF";
run("cat <<EOF > {{release_path}}/$configFile $updatedConfigEof");
}
});

0 comments on commit f8615cf

Please sign in to comment.