定制 awakenweb/beverage-cleaner 二次开发

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

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

awakenweb/beverage-cleaner

Composer 安装命令:

composer require awakenweb/beverage-cleaner

包简介

Temporary files and directories cleaner module for Beverage task runner

README 文档

README

Temp directories and files cleaner for Beverage Task Runner

Prerequisites

Install

Add this to your composer.json file:

{
    "require": {
        "awakenweb/beverage-cleaner": "dev-master"
    }
}

Configuration

In your drinkmenu.php file, add the following task:

<?php

use Awakenweb\Beverage\Beverage;
use Awakenweb\BeverageCleaner\Cleaner;
// ... other use statements ...

function defaultTask()
{
    someTask();
}

function someTask()
{
    Cleaner::clean(['build/css', 'build/js', 'build/index.html]);

    /* do stuff */
}

Contributing

Bugs

  • If you found a bug and feel confident enough to correct it, please send a pull request with your bugfix and a unit test to identify the bug.

  • If you can't correct the bug by yourself, please fill an issue on this Github repository.

Security vulnerabilities

  • If you think you found a security vulnerability in this package, please contact Mathieu SAVELLI by email before doing anything else.

New Features

  • Before sending a Pull Request for a new feature you want to add directly to the Beverage codebase, please contact Mathieu SAVELLI by email. If the feature is found to be a good fit for Beverage, you are free to make a pull request.

  • If you like this package, the best thing you can do is to provide new awesome modules for Beverage and notify me. I'll add them to this readme.

Contributors

License

Beverage and its official modules are released under the MIT License

统计信息

  • 总下载量: 7
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-10-27