ibuildings / qa-tools
Installs: 43 284
Dependents: 9
Suggesters: 0
Security: 0
Stars: 12
Watchers: 14
Forks: 7
Open Issues: 28
Requires
- php: ^5.6|^7.0
- ext-pcntl: *
- beberlei/assert: ^2.5
- composer/semver: ^1.4
- guzzlehttp/guzzle: ^6.2
- padraic/phar-updater: ^1.0
- psr/log: ^1.0
- symfony/config: ^3.2
- symfony/console: ^3.2
- symfony/dependency-injection: ^3.2
- symfony/process: ^3.2
- symfony/yaml: ^3.2
- twig/twig: ^1.24
- zendframework/zend-json: ^3.0
Requires (Dev)
- ext-posix: *
- composer/composer: ^1.2
- couscous/couscous: ^1.5
- jakub-onderka/php-console-highlighter: ^0.3.2
- jakub-onderka/php-parallel-lint: ^0.9.2
- liip/rmt: ^1.2.5
- mockery/mockery: ^0.9.4
- phpmd/phpmd: ^2.0
- phpunit/phpunit: ^5.7
- sebastian/diff: ^1.4
- sebastian/exporter: ^2
- sensiolabs/security-checker: ^3.0
- squizlabs/php_codesniffer: ^2.7
- symfony/filesystem: ^3.2
- dev-master
- 3.0.0-beta
- 3.0.0-alpha2
- 3.0.0-alpha
- 2.x-dev
- 2.0
- 1.1.x-dev
- 1.1.27
- 1.1.26
- v1.1.25
- v1.1.24
- v1.1.23
- v1.1.22
- v1.1.21
- v1.1.20
- 1.1.19
- 1.1.18
- 1.1.17
- 1.1.16
- 1.1.15
- 1.1.14
- 1.1.13
- 1.1.12
- v1.1.11
- v1.1.10.2
- v1.1.10.1
- v1.1.10
- v1.1.9.1
- v1.1.9
- v1.1.8
- v1.1.7
- v1.1.6
- v1.1.5
- v1.1.4
- v1.1.3
- v1.1.2
- v1.1.1
- v1.1.0
- v1.0.2
- v1.0.1
- v1.0.0
- dev-npm-task-and-executor
This package is not auto-updated.
Last update: 2019-02-05 11:25:28 UTC
README
A set of quality assurance tools that are easily configurable through an installer.
The QA Tools are meant to provide you with a decent base build setup, conforming to Ibuildings standards. They are not meant to provide a solution for every use case. If you want a more complex setup, you can use the resulting configurations as a base and configure it manually.
The official, full documentation can be found on our GitHub pages.
Requirements
At this moment, QA Tools requires your project to be under Git version control.
Furthermore, it requires you to have a Linuxy environment with the Dash shell
(sh
), Ant (ant
), and the common tools find
, tr
, and xargs
in your
PATH. After installing Ant, QA Tools should work on your Linux or
macOS machine.
Installation
The recommended way to install the QA Tools is by using our installer:
php -r "copy('https://raw.githubusercontent.com/ibuildingsnl/qa-tools/master/installer.php', 'qa-tools-setup.php');"
php -r "if (hash_file('SHA384', 'qa-tools-setup.php') === '2f83e895f1fda9e44334f452e9abedfde9152ba1aa95d1ea411eef0d1c96086e8d8c68909ffeaa3ec7d72de420c85287') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('qa-tools-setup.php'); } echo PHP_EOL;"
php qa-tools-setup.php
php -r "unlink('qa-tools-setup.php');"
If you want, you can use the --install-dir
option for qa-tool-setup.php
to indicate where QA tools
should be installed. E.g., php qa-tools-setup.php --install-dir=/usr/local/bin
. It is recommended you
download QA tools to either your project directory or to some location that is in your PATH.
A specific version can be installed by specifying the --version
option: php qa-tools-setup.php --version=3.0.0-alpha2
. This is useful when installing unstable versions of QA Tools.
To see all the options of the installer, run php qa-tools-setup.php --help
.
Read why we release the QA Tools as a Phar here.
Usage
Usage: command [options] [arguments] Available commands: configure Configure the Ibuildings QA Tools self-update Updates Ibuildings QA Tools to the latest version help Displays help for a command list Lists commands
The configure
subcommand will start an interactive questionnaire to help you
quickly configure various QA tools to your project's testing needs. It remembers
your answers, so you can easily reconfigure the tools.
Upgrading
The QA Tools Phar distributable is self-updateable in a way that is very similar to Composer. The following command will check the QA Tools' [Releases][github-qa-releases] page for the latest stable version, and replace your executable Phar:
$ ./qa-tools.phar self-update