mirror of
https://github.com/guzzle/guzzle.git
synced 2025-02-11 19:14:38 +01:00
Fixing packaging
This commit is contained in:
parent
0123fa5420
commit
89d8bc83c4
9
Makefile
9
Makefile
@ -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
|
||||
|
@ -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',
|
||||
]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user