定制 therat/symdep 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

therat/symdep

最新稳定版本:6.1.1

Composer 安装命令:

composer require therat/symdep

包简介

Additional tool for symfony deploy

README 文档

README

Often I execute a lot of similar commands for update my local project, thats why this project was created.

Latest Stable Version Total Downloads Latest Unstable Version License

SensioLabsInsight

Requirements

Any symfony project.

Install

composer require therat/symdep ~3.0

Create deploy.php file into your project

cp vendor/therat/symdep/deploy.php.example deploy.php

Add file symdep.lock to your .gitignore

Extend tasks

Modify properties

Example

/**
 * modify properties
 */
task(
    'env',
    function () {
        switch (get('build_type')) {
            case BuildType::TYPE_DEV:
                break;
            case BuildType::TYPE_TEST:
                break;
            case BuildType::TYPE_PROD:
                break;
        }
    }
);
after('properties', 'env');

Delete useless branch folder from test

./bin/project-drop-branches-from-test

Build new version of geggs

  • Create and push tag
  • Create phar
./bin/box-build
  • Go to github and upload new symdep.phar into new release
  • Publish new manifest
./bin/generate-manifest

统计信息

  • 总下载量: 38.15k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 4
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-02-20