covex-nn/phpqatools

Composer package for PHP QA Tools

Installs: 853

Dependents: 6

Stars: 6

Watchers: 1

Forks: 1

Language: PHP

1.4.0 2015-04-21 11:22 UTC

README

68747470733a2f2f7472617669732d63692e6f72

Installation

{
  "require-dev" : {
    "covex-nn/phpqatools" : "~1.0"
  }, 
  "config" : {
    "bin-dir" : "bin"
  }
}

Usage

<?xml version="1.0" encoding="utf-8"?>
<project name="Your project name" default="init">
  <target name="init">
    <echo message="${ant.project.name} Init - OK" />
  </target>
</project>
  • Use this template for build-dev.xml
<?xml version="1.0" encoding="utf-8"?>
<project name="Your project name - PHP QA Tools" default="init">
  <import file="build.xml" />
  <import file="vendor/covex-nn/phpqatools/build.xml" />
</project>
  • Write code, create unit-tests
  • Run ant init
  • Run ant -f build-dev.xml CI-build