1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-21 16:22:22 +02:00

[ticket/12483] Add a .sh that moves an extension in place

PHPBB3-12483
This commit is contained in:
Joas Schilling 2014-05-03 11:26:59 +02:00
parent 997028a0ec
commit 709296e54a

17
travis/prepare-extension.sh Executable file
View File

@ -0,0 +1,17 @@
#!/bin/bash
#
# @copyright (c) 2014 phpBB Group
# @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
#
set -e
set -x
EXTNAME=$1
BRANCH=$2
# Move the extension in place
mkdir --parents phpBB/ext/$EXTNAME
cp -R ../tmp/* phpBB/ext/$EXTNAME
# Move the extensions travis/phpunit-*-travis.xml files in place
cp -R travis/* phpBB/ext/$EXTNAME/travis