diff options
author | Marc Alexander <admin@m-a-styles.de> | 2015-12-10 09:32:02 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2016-12-03 14:20:28 +0100 |
commit | 9525a64d6411cea7c72b140e8266678593148038 (patch) | |
tree | 9fad932dea895cc7b41224d5a61be485952aba7d /build | |
parent | c30394ff4a1034e5e6e7a0862e9101b5a80d8587 (diff) | |
download | forums-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.xml | 22 |
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" /> |