定制 evolution7/qa-tools 二次开发

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

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

evolution7/qa-tools

Composer 安装命令:

composer require evolution7/qa-tools

包简介

A collection of Code Quality tools for CI integration, and various git hooks

README 文档

README

This is a single repository for including all QA tools through Composer. If you install this as a require-dev requirement, you will have access to it on development and CI machines but don't need to install all the dependencies when deploying to your production environment.

Installation

As stated above, the preferred way is to install it in your require-dev using

composer require --dev "evolution7/qa-tools=1.*"

Included QA tools

CI examples

In the ci-examples directory you will find usage examples for these tools in a Continuous Integration setup.

Git hooks

Included in this repository is also a collection of git hooks for use with the git-hooks tool. This tool allows you to easily share git hooks in projects, and organize them cleanly.

Usage

The easiest way to include these hooks is by first installing the git-hooks tool as discussed on its project page. To use the hooks in this repository you can then create a symlink from your project root ln -s vendor/evolution7/qa-tools/git_hooks, or create your own directory and copy/symlink only the hooks you wish to use.

Hooks

The following hooks are present:

  • post-merge/01-update-dependencies - Runs a git composer install command and git submodule update after a pull.
  • post-merge/11-grunt-build - Updates npm/bower and runs grunt build after a pull. This checks if a Gruntfile actually exists before doing so.
  • post-merge/21-build-symfony-model - Symfony1.x build classes after a pull.
  • post-merge/91-clear-cache - Symfony1 clear cache after a pull.
  • pre-commit/00-protect-master-staging - Prevent commits to master and staging branches.
  • pre-commit/01-composer - Runs a git composer validate command before a commit.
  • pre-commit/11-phplint - Runs a lint check before commit.

Contribute?

Feel free to fork this repository for your own customisations, or to create pull requests for including your preferred QA tool, Git Hook, or even CI example.

统计信息

  • 总下载量: 1.89k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 8
  • 点击次数: 2
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 7
  • Watchers: 9
  • Forks: 1
  • 开发语言: Shell

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-07-17

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固