aten/pantheon-drupal-quicksilver
Composer 安装命令:
composer require aten/pantheon-drupal-quicksilver
包简介
A template for creating new Quicksilver scripts installed via Composer.
README 文档
README
Requirements
While these scripts can be downloaded individually, they are meant to work with Composer. See the installation in the next section.
- Quicksilver script projects and the script name itself should be consistent in naming convention.
- README should include a recommendation for types of hooks and stages that the script should run on.
- For example, "This script should run on
clone_databaseand theafterstage. - Provide a snippet that can be pasted into the
pantheon.ymlfile.
- For example, "This script should run on
Installation
This project is designed to be included from a site's composer.json file, and placed in its appropriate installation directory by Composer Installers.
In order for this to work, you should have the following in your composer.json file:
{
"require": {
"composer/installers": "^1"
},
"extra": {
"installer-paths": {
"web/private/scripts/quicksilver": ["type:quicksilver-script"]
}
}
}
The project can be included by using the command, where {quicksilver-project} represents the name of the Quicksilver script:
composer require pantheon-quicksilver/{quicksilver-project}:^1
If you are using one of the example PR workflow projects (Drupal 8, Drupal 9, WordPress) as a starting point for your site, these entries should already be present in your composer.json.
Example pantheon.yml
Here's an example of what your pantheon.yml would look like if this were the only Quicksilver operation you wanted to use.
api_version: 1 workflows: sync_code: after: - type: webphp description: Run Quicksilver script script: private/scripts/quicksilver/pantheon-quicksilver/standard-refresh.php
统计信息
- 总下载量: 1.11k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-08-22