mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/14492] Start working on the build script
PHPBB3-14492
This commit is contained in:
parent
c30394ff4a
commit
9525a64d64
1 changed files with 22 additions and 0 deletions
|
@ -287,6 +287,28 @@
|
|||
</else>
|
||||
</if>
|
||||
|
||||
<!-- Checkout latest viglink to ext folder -->
|
||||
<available file="${dir}/ext" type="dir" property="add-viglink-ext" />
|
||||
<if>
|
||||
<and>
|
||||
<equals arg1="${add-viglink-ext}" arg2="1" trim="true" />
|
||||
<equals arg1="${revision}" arg2="HEAD" trim="true" />
|
||||
</and>
|
||||
<then>
|
||||
<exec dir="${dir}/ext" command="mkdir phpbb" passthru="true" />
|
||||
|
||||
<exec dir="${dir}/ext/phpbb" command="git clone https://github.com/phpbb-extensions/viglink.git viglink" passthru="true" checkreturn="true" />
|
||||
<exec dir="${dir}/ext/phpbb/viglink" command="git checkout master" />
|
||||
<delete dir="${dir}/ext/phpbb/viglink/.git" />
|
||||
<delete dir="${dir}/ext/phpbb/viglink/tests" />
|
||||
<delete dir="${dir}/ext/phpbb/viglink/travis" />
|
||||
<delete file="${dir}/ext/phpbb/viglink/.gitattributes" />
|
||||
<delete file="${dir}/ext/phpbb/viglink/.travis.yml" />
|
||||
<delete file="${dir}/ext/phpbb/viglink/phpunit.xml.dist" />
|
||||
<delete file="${dir}/ext/phpbb/viglink/README.md" />
|
||||
</then>
|
||||
</if>
|
||||
|
||||
<!-- Create schema.json -->
|
||||
<exec dir="${dir}" command="php develop/create_schema_files.php" />
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue