shyim / store-plugin-installer

Install store.shopware.com Plugins automatically in your Shopware Composer Setup
35 stars 7 forks source link

FR: cache directory configurable via ENV variable #12

Closed htuscher closed 5 years ago

htuscher commented 5 years ago

For build processes, which don't have access to $HOME (or in our case => Gitlab-CI you can't cache $HOME easily), it would be great if you could modify the plugin cache directory via e.g. $COMPOSER_SW_PLUGIN_DIR or similar.

htuscher commented 5 years ago

Or alternatively just create a new folder in the composer cache directory:

$config = \Composer\Factory::createConfig();
$config->get('cache-dir');