edisonlabs/merge-yaml
最新稳定版本:3.0.0-beta1
Composer 安装命令:
composer require edisonlabs/merge-yaml
包简介
Provides a composer plugin which merges yaml files.
README 文档
README
merge-yaml
Overview
Provides a composer plugin which merges yaml files.
Installation
Configure the plugin in your composer.json file using for example:
"extra": {
"merge-yaml": {
"files": [
"database.sanitize"
],
"locations": [
"app/modules",
"app/profiles"
],
"output-dir": "NOT-PUBLIC-FOLDER"
}
}
Where:
files: List of filenames (without the yml extension) to scan for.locations: List of paths to scan for yaml files.output-dir: The directory where the merged files will be placed.
How does it work
Every time that you run composer install or composer update, the plugin will scan the locations and merge the yml files to the output directory.
Command
You can also use the command composer merge-yaml to run the merge process.
Use the option --config to specify a config.json file to override the config defined in the composer.json: composer merge-yaml --config=config.json.
The content of the configuration file passed in needs to be in this format:
{
"files": [
"database.sanitize"
],
"locations": [
"app/modules",
"app/profiles"
],
"output-dir": "NOT-PUBLIC-FOLDER"
}
Automated Tests and Code Sniffer
This repository is integrated with Travis CI to perform tests and detect PHP standards violations.
统计信息
- 总下载量: 1.94M
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0
- 更新时间: 2018-07-03