Merge pull request #4 from vstm/composer-simple

Add composer.json
This commit is contained in:
Stephen Paul Weber 2015-03-16 15:04:34 -05:00
commit 4756c82118
4 changed files with 28 additions and 3 deletions

View File

@ -3,5 +3,4 @@ php:
- "5.4"
- "5.3"
before_script:
- git clone git://github.com/phpseclib/phpseclib.git phpseclib
- mv phpseclib/phpseclib/* ./
- composer install --prefer-source --dev

24
composer.json Normal file
View File

@ -0,0 +1,24 @@
{
"name": "singpolyma/openpgp-php",
"description": "Pure-PHP implementation of the OpenPGP Message Format (RFC 4880)",
"license": "Unlicense",
"authors": [
{
"name": "Arto Bendiken",
"email": "arto.bendiken@gmail.com"
},
{
"name": "Stephen Paul Weber",
"email": "singpolyma@singpolyma.net"
}
],
"require": {
"phpseclib/phpseclib": "~0.3"
},
"require-dev": {
"phpunit/phpunit": "~4.0"
},
"autoload": {
"classmap": ["lib/"]
}
}

View File

@ -1,4 +1,4 @@
<phpunit>
<phpunit bootstrap="tests/bootstrap.php">
<testsuites>
<testsuite name="Serialization">
<file>tests/suite.php</file>

2
tests/bootstrap.php Normal file
View File

@ -0,0 +1,2 @@
<?php
@include_once dirname(__FILE__) . '/../vendor/autoload.php';