xmlsquad/xml-authoring-tools

PHP控制台命令,用于管理xml文件。

v0.3.3 2018-10-15 07:59 UTC

This package is not auto-updated.

Last update: 2024-09-29 06:27:38 UTC


README

这是一个composer库,包含用于构建和管理xml-authoring-project的工具。

大多数情况下,您将在xml编辑项目的上下文中运行这些工具。

先决条件

在xml-authoring-project中使用

  • 将以下行放在项目的composer.json

    "config": {
        "bin-dir": "bin"
    }
  • 要求工具库

    composer require xmlsquad/xml-authoring-tools
  • 列出可用命令

    bin/console

贡献

cd ~/
git clone https://github.com/xmlsquad/xml-authoring-tools.git
cd xml-authoring-tools

# Install
composer install --dev

# Make you own feature branch
git checkout -b feature-XXX

# Make changes with tests
# ...

# Make sure tests are passing
vendor/bin/phpunit

# Push your changes
git push origin feature-XXX

测试

composer install --dev
vendor/bin/phpunit