Skip to content

Commit f291cc6

Browse files
Add Yandex sync to phar
1 parent 370e447 commit f291cc6

File tree

2 files changed

+84
-1
lines changed

2 files changed

+84
-1
lines changed

build.xml

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,15 @@
411411
</fileset>
412412
</copy>
413413

414+
<copy file="${basedir}/vendor/symfony/options-resolver/LICENSE"
415+
tofile="${basedir}/build/phar/lib/symfony/options-resolver/LICENSE"/>
416+
<copy todir="${basedir}/build/phar/lib/symfony/options-resolver">
417+
<fileset dir="${basedir}/vendor/symfony/options-resolver">
418+
<include name="**/*.php"/>
419+
<exclude name="**/Test*"/>
420+
</fileset>
421+
</copy>
422+
414423
<!-- OPENSTACK -->
415424
<copy file="${basedir}/vendor/php-opencloud/openstack/LICENSE"
416425
tofile="${basedir}/build/phar/lib/php-opencloud/openstack/LICENSE"/>
@@ -430,6 +439,80 @@
430439
</fileset>
431440
</copy>
432441

442+
<!-- PHP-HTTP -->
443+
<copy file="${basedir}/vendor/php-http/httplug/LICENSE"
444+
tofile="${basedir}/build/phar/lib/php-http/httplug/LICENSE"/>
445+
<copy todir="${basedir}/build/phar/lib/php-http/httplug">
446+
<fileset dir="${basedir}/vendor/php-http/httplug/src">
447+
<include name="**/*.php"/>
448+
</fileset>
449+
</copy>
450+
451+
<copy file="${basedir}/vendor/php-http/curl-client/LICENSE"
452+
tofile="${basedir}/build/phar/lib/php-http/curl-client/LICENSE"/>
453+
<copy todir="${basedir}/build/phar/lib/php-http/curl-client">
454+
<fileset dir="${basedir}/vendor/php-http/curl-client/src">
455+
<include name="**/*.php"/>
456+
</fileset>
457+
</copy>
458+
459+
<copy file="${basedir}/vendor/php-http/message-factory/LICENSE"
460+
tofile="${basedir}/build/phar/lib/php-http/message-factory/LICENSE"/>
461+
<copy todir="${basedir}/build/phar/lib/php-http/message-factory">
462+
<fileset dir="${basedir}/vendor/php-http/message-factory/src">
463+
<include name="**/*.php"/>
464+
</fileset>
465+
</copy>
466+
467+
<copy file="${basedir}/vendor/php-http/message/LICENSE"
468+
tofile="${basedir}/build/phar/lib/php-http/message/LICENSE"/>
469+
<copy todir="${basedir}/build/phar/lib/php-http/message">
470+
<fileset dir="${basedir}/vendor/php-http/message/src">
471+
<include name="**/*.php"/>
472+
</fileset>
473+
</copy>
474+
475+
<copy file="${basedir}/vendor/php-http/client-common/LICENSE"
476+
tofile="${basedir}/build/phar/lib/php-http/client-common/LICENSE"/>
477+
<copy todir="${basedir}/build/phar/lib/php-http/client-common">
478+
<fileset dir="${basedir}/vendor/php-http/client-common/src">
479+
<include name="**/*.php"/>
480+
</fileset>
481+
</copy>
482+
483+
<copy file="${basedir}/vendor/php-http/promise/LICENSE"
484+
tofile="${basedir}/build/phar/lib/php-http/promise/LICENSE"/>
485+
<copy todir="${basedir}/build/phar/lib/php-http/promise">
486+
<fileset dir="${basedir}/vendor/php-http/promise/src">
487+
<include name="**/*.php"/>
488+
</fileset>
489+
</copy>
490+
491+
<!-- YANDEX -->
492+
<copy file="${basedir}/vendor/arhitector/yandex/LICENSE.md"
493+
tofile="${basedir}/build/phar/lib/arhitector/yandex/LICENSE"/>
494+
<copy todir="${basedir}/build/phar/lib/arhitector/yandex">
495+
<fileset dir="${basedir}/vendor/arhitector/yandex/src">
496+
<include name="**/*.php"/>
497+
</fileset>
498+
</copy>
499+
500+
<copy file="${basedir}/vendor/zendframework/zend-diactoros/LICENSE.md"
501+
tofile="${basedir}/build/phar/lib/zendframework/zend-diactoros/LICENSE"/>
502+
<copy todir="${basedir}/build/phar/lib/zendframework/zend-diactoros">
503+
<fileset dir="${basedir}/vendor/zendframework/zend-diactoros/src">
504+
<include name="**/*.php"/>
505+
</fileset>
506+
</copy>
507+
508+
<copy file="${basedir}/vendor/league/event/LICENCE"
509+
tofile="${basedir}/build/phar/lib/league/event/LICENSE"/>
510+
<copy todir="${basedir}/build/phar/lib/league/event">
511+
<fileset dir="${basedir}/vendor/league/event/src">
512+
<include name="**/*.php"/>
513+
</fileset>
514+
</copy>
515+
433516
</target>
434517

435518

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"sebastian/environment": "~1.1|~2.0|~3.0",
4444
"sebastianfeldmann/cli": "~2.2",
4545
"phpmailer/phpmailer": "~6.0",
46-
"symfony/event-dispatcher": "~2.6|~3.0|~4.0"
46+
"symfony/event-dispatcher": "~2.6|~3.0|~4.2.0"
4747
},
4848
"require-dev": {
4949
"sebastianfeldmann/git": "~1.0",

0 commit comments

Comments
 (0)