Skip to content

Commit

Permalink
Add Yandex sync to phar
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianfeldmann committed May 30, 2019
1 parent 66e6792 commit 963737e
Show file tree
Hide file tree
Showing 2 changed files with 84 additions and 1 deletion.
83 changes: 83 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,15 @@
</fileset>
</copy>

<copy file="${basedir}/vendor/symfony/options-resolver/LICENSE"
tofile="${basedir}/build/phar/lib/symfony/options-resolver/LICENSE"/>
<copy todir="${basedir}/build/phar/lib/symfony/options-resolver">
<fileset dir="${basedir}/vendor/symfony/options-resolver">
<include name="**/*.php"/>
<exclude name="**/Test*"/>
</fileset>
</copy>

<!-- OPENSTACK -->
<copy file="${basedir}/vendor/php-opencloud/openstack/LICENSE"
tofile="${basedir}/build/phar/lib/php-opencloud/openstack/LICENSE"/>
Expand All @@ -430,6 +439,80 @@
</fileset>
</copy>

<!-- PHP-HTTP -->
<copy file="${basedir}/vendor/php-http/httplug/LICENSE"
tofile="${basedir}/build/phar/lib/php-http/httplug/LICENSE"/>
<copy todir="${basedir}/build/phar/lib/php-http/httplug">
<fileset dir="${basedir}/vendor/php-http/httplug/src">
<include name="**/*.php"/>
</fileset>
</copy>

<copy file="${basedir}/vendor/php-http/curl-client/LICENSE"
tofile="${basedir}/build/phar/lib/php-http/curl-client/LICENSE"/>
<copy todir="${basedir}/build/phar/lib/php-http/curl-client">
<fileset dir="${basedir}/vendor/php-http/curl-client/src">
<include name="**/*.php"/>
</fileset>
</copy>

<copy file="${basedir}/vendor/php-http/message-factory/LICENSE"
tofile="${basedir}/build/phar/lib/php-http/message-factory/LICENSE"/>
<copy todir="${basedir}/build/phar/lib/php-http/message-factory">
<fileset dir="${basedir}/vendor/php-http/message-factory/src">
<include name="**/*.php"/>
</fileset>
</copy>

<copy file="${basedir}/vendor/php-http/message/LICENSE"
tofile="${basedir}/build/phar/lib/php-http/message/LICENSE"/>
<copy todir="${basedir}/build/phar/lib/php-http/message">
<fileset dir="${basedir}/vendor/php-http/message/src">
<include name="**/*.php"/>
</fileset>
</copy>

<copy file="${basedir}/vendor/php-http/client-common/LICENSE"
tofile="${basedir}/build/phar/lib/php-http/client-common/LICENSE"/>
<copy todir="${basedir}/build/phar/lib/php-http/client-common">
<fileset dir="${basedir}/vendor/php-http/client-common/src">
<include name="**/*.php"/>
</fileset>
</copy>

<copy file="${basedir}/vendor/php-http/promise/LICENSE"
tofile="${basedir}/build/phar/lib/php-http/promise/LICENSE"/>
<copy todir="${basedir}/build/phar/lib/php-http/promise">
<fileset dir="${basedir}/vendor/php-http/promise/src">
<include name="**/*.php"/>
</fileset>
</copy>

<!-- YANDEX -->
<copy file="${basedir}/vendor/arhitector/yandex/LICENSE.md"
tofile="${basedir}/build/phar/lib/arhitector/yandex/LICENSE"/>
<copy todir="${basedir}/build/phar/lib/arhitector/yandex">
<fileset dir="${basedir}/vendor/arhitector/yandex/src">
<include name="**/*.php"/>
</fileset>
</copy>

<copy file="${basedir}/vendor/zendframework/zend-diactoros/LICENSE.md"
tofile="${basedir}/build/phar/lib/zendframework/zend-diactoros/LICENSE"/>
<copy todir="${basedir}/build/phar/lib/zendframework/zend-diactoros">
<fileset dir="${basedir}/vendor/zendframework/zend-diactoros/src">
<include name="**/*.php"/>
</fileset>
</copy>

<copy file="${basedir}/vendor/league/event/LICENCE"
tofile="${basedir}/build/phar/lib/league/event/LICENSE"/>
<copy todir="${basedir}/build/phar/lib/league/event">
<fileset dir="${basedir}/vendor/league/event/src">
<include name="**/*.php"/>
</fileset>
</copy>

</target>


Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"sebastian/environment": "~3.0|~4.0",
"sebastianfeldmann/cli": "~3.1",
"phpmailer/phpmailer": "~6.0",
"symfony/event-dispatcher": "~3.0|~4.0"
"symfony/event-dispatcher": "~3.0|~4.2.0"
},
"require-dev": {
"sebastianfeldmann/git": "~2.2",
Expand Down

0 comments on commit 963737e

Please sign in to comment.