machbarmacher / boxfile
此包已被废弃,不再维护。未建议替代包。
处理任何位置的freistil Boxfiles的命令
0.1.3
2017-12-25 01:55 UTC
Requires
- derhasi/symlinker: >=0.2.2
- symfony/config: ~2.6
- symfony/console: 2.*
- symfony/yaml: 2.*
This package is auto-updated.
Last update: 2019-08-09 14:50:34 UTC
README
这是一个将Boxfile特定配置应用到您项目的工具。Boxfile是一个Freistilbox网站的配置文件。
安装
该工具可以通过Composer进行安装。
composer require machbarmacher/boxfile
感谢
感谢derhasi对V1实现的贡献。
命令
为特定环境路径创建符号链接。
./vendor/bin/boxfile symlink [env] --boxfile=Boxfile --docroot=docroot
示例boxfile
version: 1.0 shared_folders: - sites/default/files env_specific_files: .htaccess: local: .htaccess.local staging: .htaccess.stage sites/default/settings.php: local: settings.local.php staging: settings.stage.php
使用./vendor/bin/boxfile local
将为示例应用符号链接。