1
0
mirror of https://github.com/guzzle/guzzle.git synced 2025-02-11 19:14:38 +01:00

Fixing packaging

This commit is contained in:
Michael Dowling 2015-03-28 13:56:28 -07:00
parent 0123fa5420
commit 89d8bc83c4
2 changed files with 11 additions and 3 deletions

View File

@ -40,4 +40,11 @@ tag:
git commit -m '$(TAG) release'
chag tag
.PHONY: docs
burgomaster:
mkdir -p build/artifacts
curl -s https://raw.githubusercontent.com/mtdowling/Burgomaster/0.0.2/src/Burgomaster.php > build/artifacts/Burgomaster.php
package: burgomaster
php build/packager.php
.PHONY: docs burgomaster

View File

@ -13,11 +13,12 @@ foreach (['README.md', 'LICENSE'] as $file) {
// Copy each dependency to the staging directory. Copy *.php and *.pem files.
$packager->recursiveCopy('src', 'GuzzleHttp', ['php']);
$packager->recursiveCopy('vendor/guzzlehttp/promise/src', 'GuzzleHttp/Promise');
$packager->recursiveCopy('vendor/guzzlehttp/promises/src', 'GuzzleHttp/Promise');
$packager->recursiveCopy('vendor/guzzlehttp/psr7/src', 'GuzzleHttp/Psr7');
$packager->recursiveCopy('vendor/psr/http-message/src', 'Psr\Http\Message');
$packager->recursiveCopy('vendor/psr/http-message/src', 'Psr/Http/Message');
$packager->createAutoloader([
'GuzzleHttp/functions.php',
'GuzzleHttp/Psr7/functions.php',
'GuzzleHttp/Promise/functions.php',
]);