forked from phpbb/phpbb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ticket/12483] Add a .sh that moves an extension in place
PHPBB3-12483
- Loading branch information
1 parent
997028a
commit 709296e
Showing
1 changed file
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |