mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
[ticket/12483] Add a .sh that moves an extension in place
PHPBB3-12483
This commit is contained in:
parent
997028a0ec
commit
709296e54a
1 changed files with 17 additions and 0 deletions
17
travis/prepare-extension.sh
Executable file
17
travis/prepare-extension.sh
Executable 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
|
Loading…
Add table
Reference in a new issue