From 78a25e8ab3bc1f2f95225e6cd3c98a55d15008d9 Mon Sep 17 00:00:00 2001 From: dmzx Date: Tue, 5 Apr 2016 19:18:00 +0200 Subject: [PATCH] Update --- travis/prepare-phpbb.sh | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 travis/prepare-phpbb.sh diff --git a/travis/prepare-phpbb.sh b/travis/prepare-phpbb.sh new file mode 100644 index 0000000..01770ad --- /dev/null +++ b/travis/prepare-phpbb.sh @@ -0,0 +1,24 @@ +#!/bin/bash +# +# This file is part of the phpBB Forum Software package. +# +# @copyright (c) phpBB Limited +# @license GNU General Public License, version 2 (GPL-2.0) +# +# For full copyright and license information, please see +# the docs/CREDITS.txt file. +# +set -e +set -x + +EXTNAME=$1 +BRANCH=$2 +EXTPATH_TEMP=$3 + +# Copy extension to a temp folder +mkdir ../../tmp +cp -R . ../../tmp +cd ../../ + +# Clone phpBB +git clone --depth=1 "git://github.com/phpbb/phpbb.git" "phpBB3" --branch=$BRANCH