palantirnet/the-build
Composer 安装命令:
composer require palantirnet/the-build
包简介
Project setup templates and Phing build tasks for Drupal projects.
README 文档
README
This repository contains project setup templates and reusable phing build targets for Drupal projects.
Note: If you are starting a new a project, you may be looking for the drupal-skeleton.
Adding the-build with composer
$> composer require palantirnet/the-build
Composer 2.2.2 or greater is required for the-build.
Setting up
Install the default templates and phing targets to your project:
$> vendor/bin/the-build-installer
This will trigger an interactive prompt to configure your basic build properties, adding the following templated files and directories:
.circleci/.the-build/behat.ymlbuild.xmldrush/drushrc.phpdrush/*.aliases.drushrc.phpconfig/(web|docroot)/sites/default/settings.php(web|docroot)/sites/default/settings.(host).php
These files should be checked in to your project.
Configure your build by editing .the-build/build.yml. You can find more properties in defaults.yml, and override the defaults by copying them into your project's properties files.
Using the-build
Everyday commands
Reinstall the Drupal site from config:
$> vendor/bin/phing install
Rebuild the settings.build.php configuration, and the styleguide if it's available (run automatically when you call install):
$> vendor/bin/phing build
Run code reviews and tests:
$> vendor/bin/phing test
Other commands
View a list of other available targets with:
$> vendor/bin/phing -l
Additional documentation
- Configuring the-build
- Building an artifact
- Using Drupal multisites
- Custom Phing tasks provided by the-build
- Developing on the-build
Copyright 2016-2020 Palantir.net, Inc.
palantirnet/the-build 适用场景与选型建议
palantirnet/the-build 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 114.75k 次下载、GitHub Stars 达 5, 最近一次更新时间为 2017 年 03 月 23 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 palantirnet/the-build 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 palantirnet/the-build 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 114.75k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 25
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-03-23