aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2015-12-10 09:32:02 +0100
committerMarc Alexander <admin@m-a-styles.de>2016-12-03 14:20:28 +0100
commit9525a64d6411cea7c72b140e8266678593148038 (patch)
tree9fad932dea895cc7b41224d5a61be485952aba7d /build
parentc30394ff4a1034e5e6e7a0862e9101b5a80d8587 (diff)
downloadforums-9525a64d6411cea7c72b140e8266678593148038.tar
forums-9525a64d6411cea7c72b140e8266678593148038.tar.gz
forums-9525a64d6411cea7c72b140e8266678593148038.tar.bz2
forums-9525a64d6411cea7c72b140e8266678593148038.tar.xz
forums-9525a64d6411cea7c72b140e8266678593148038.zip
[ticket/14492] Start working on the build script
PHPBB3-14492
Diffstat (limited to 'build')
-rw-r--r--build/build.xml22
1 files changed, 22 insertions, 0 deletions
diff --git a/build/build.xml b/build/build.xml
index 9cf222ae9e..0fdf6c0cb0 100644
--- a/build/build.xml
+++ b/build/build.xml
@@ -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" />