diff --git a/src/Composer/Installers/Installer.php b/src/Composer/Installers/Installer.php index 490681cf..6ebaabae 100644 --- a/src/Composer/Installers/Installer.php +++ b/src/Composer/Installers/Installer.php @@ -87,6 +87,7 @@ class Installer extends LibraryInstaller 'phifty' => 'PhiftyInstaller', 'porto' => 'PortoInstaller', 'processwire' => 'ProcessWireInstaller', + 'quicksilver' => 'PantheonInstaller', 'redaxo' => 'RedaxoInstaller', 'redaxo5' => 'Redaxo5Installer', 'reindex' => 'ReIndexInstaller', diff --git a/src/Composer/Installers/PantheonInstaller.php b/src/Composer/Installers/PantheonInstaller.php index 8f12537c..439f61a0 100644 --- a/src/Composer/Installers/PantheonInstaller.php +++ b/src/Composer/Installers/PantheonInstaller.php @@ -6,7 +6,7 @@ class PantheonInstaller extends BaseInstaller { /** @var array */ protected $locations = array( - 'quicksilver-script' => 'web/private/scripts/quicksilver/{$name}/', - 'quicksilver-module' => 'web/private/scripts/quicksilver/{$name}/', + 'script' => 'web/private/scripts/quicksilver/{$name}', + 'module' => 'web/private/scripts/quicksilver/{$name}', ); } diff --git a/tests/Composer/Installers/Test/InstallerTest.php b/tests/Composer/Installers/Test/InstallerTest.php index b51241db..f9fa0568 100644 --- a/tests/Composer/Installers/Test/InstallerTest.php +++ b/tests/Composer/Installers/Test/InstallerTest.php @@ -188,6 +188,8 @@ public function supportsProvider(): array array('puppet-module', true), array('porto-container', true), array('processwire-module', true), + array('quicksilver-script', true), + array('quicksilver-module', true), array('radphp-bundle', true), array('redaxo-addon', true), array('redaxo-bestyle-plugin', true), @@ -391,6 +393,8 @@ public function installPathProvider(): array array('porto-container', 'app/Containers/container-name/', 'test/container-name'), array('radphp-bundle', 'src/Migration/', 'atkrad/migration'), array('processwire-module', 'site/modules/HelloWorld/', 'test/hello-world'), + array('quicksilver-script', 'web/private/scripts/quicksilver/quicksilver-script', 'shama/quicksilver-script'), + array('quicksilver-module', 'web/private/scripts/quicksilver/quicksilver-module', 'shama/quicksilver-module'), array('redaxo-addon', 'redaxo/include/addons/my_plugin/', 'shama/my_plugin'), array('redaxo-bestyle-plugin', 'redaxo/include/addons/be_style/plugins/my_plugin/', 'shama/my_plugin'), array('redaxo5-addon', 'redaxo/src/addons/my_plugin/', 'shama/my_plugin'),