Skip to content

Commit

Permalink
Merge pull request #492 from kyletaylored/feature/add-pantheon-quicks…
Browse files Browse the repository at this point in the history
…ilver

Add Pantheon Quicksilver support
  • Loading branch information
Seldaek committed Aug 4, 2021
2 parents a6cd6ae + b72323c commit e481fb9
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -81,6 +81,7 @@ is **not needed** to install packages with these frameworks.
| Osclass | `osclass-plugin`<br>`osclass-theme`<br>`osclass-language`
| MODULEWork | `modulework-module`
| Moodle | `moodle-*` (Please [check source](https://github.com/composer/installers/blob/main/src/Composer/Installers/MoodleInstaller.php) for all supported types)
| Pantheon | `quicksilver-script`<br>`quicksilver-module`
| Piwik | `piwik-plugin`
| Phifty | `phifty-bundle`<br>`phifty-framework`<br>`phifty-library`
| phpBB | `phpbb-extension`<br>`phpbb-style`<br>`phpbb-language`
Expand Down
1 change: 1 addition & 0 deletions composer.json
Expand Up @@ -48,6 +48,7 @@
"osclass",
"MODULEWork",
"Moodle",
"Pantheon",
"Piwik",
"pxcms",
"phpBB",
Expand Down
12 changes: 12 additions & 0 deletions src/Composer/Installers/PantheonInstaller.php
@@ -0,0 +1,12 @@
<?php

namespace Composer\Installers;

class PantheonInstaller extends BaseInstaller
{
/** @var array<string, string> */
protected $locations = array(
'quicksilver-script' => 'web/private/scripts/quicksilver/{$name}/',
'quicksilver-module' => 'web/private/scripts/quicksilver/{$name}/',
);
}

0 comments on commit e481fb9

Please sign in to comment.