continuousphp / phing-tasks
Phing tasks for continuousphp
Installs: 46 860
Dependents: 0
Suggesters: 0
Security: 0
Stars: 8
Watchers: 9
Forks: 3
Open Issues: 0
Requires
- php: >=5.4.0
- continuousphp/sdk: ~0.2
- phing/phing: ~2.9
Requires (Dev)
- behat/behat: ^3.0
- phpunit/phpunit: ^4.6
- squizlabs/php_codesniffer: ^2.3
This package is not auto-updated.
Last update: 2024-11-09 18:53:57 UTC
README
Phing tasks to consume continuousphp API in a Phing build
Installation
Install this package through Composer by adding this package in the require section
"require": { "continuousphp/phing-tasks": "~0.1" }
Import tasks in your build
<import file="./vendor/continuousphp/phing-tasks/tasks.xml"/>
Tasks
1. continuousphp-config
The goal of this task is to setup your credential in order to start consuming continuousphp API to access private data
1.1. Attributes
1.2. Example
<continuousphp-config token="my-valid-token" />
2. continuousphp-package
This task helps you to get a package url for a repository.
2.1. Attributes
2.2 Example
<continuousphp-package provider="git-hub" repository="continuousphp/phing-tasks" reference="refs/heads/master" property="package.url" />
Download the package by adding the destination
<continuousphp-package provider="git-hub" repository="continuousphp/phing-tasks" reference="refs/heads/master" state="in-progress,complete" destination="/tmp" property="package.path" />