Skip to content

Commit bafb673

Browse files
committed
Updated build script and manifest
Updated dependencies Signed-off-by: Roland Dalmulder <contact@rolandd.com>
1 parent e1faca7 commit bafb673

File tree

4 files changed

+17
-17
lines changed

4 files changed

+17
-17
lines changed

administrator/components/com_patchtester/patchtester.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,14 @@
4040
</media>
4141
<administration>
4242
<menu img="../media/com_patchtester/images/icon-16-patchtester.png" view="pulls">com_patchtester</menu>
43-
<files folder="admin">
43+
<files folder="administrator/components/com_patchtester">
4444
<folder>backups</folder>
4545
<folder>forms</folder>
4646
<folder>install</folder>
4747
<folder>language</folder>
48-
<folder>PatchTester</folder>
48+
<folder>services</folder>
49+
<folder>src</folder>
50+
<folder>tmpl</folder>
4951
<folder>vendor</folder>
5052
<filename>access.xml</filename>
5153
<filename>config.xml</filename>

administrator/components/com_patchtester/script.php

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,10 @@ public function __construct()
3333
{
3434
$this->minimumJoomla = '4.0';
3535
$this->minimumPhp = JOOMLA_MINIMUM_PHP;
36-
$this->deleteFiles = array(
37-
'/administrator/components/com_patchtester/PatchTester/View/Pulls/tmpl/default_errors.php',
38-
);
39-
$this->deleteFolders = array(
40-
'/administrator/components/com_patchtester/PatchTester/Table',
36+
$this->deleteFolders = [
37+
'/administrator/components/com_patchtester/PatchTester',
4138
'/components/com_patchtester',
42-
);
39+
];
4340
Factory::getApplication()
4441
->getLanguage()
4542
->load('com_patchtester.sys', JPATH_ADMINISTRATOR, null, true);

build/patchtester/build.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ cd ../../
33
rm -rf build/packaging && mkdir build/packaging
44
rm -rf build/packages && mkdir build/packages
55
composer install --no-dev -o
6-
cp -r administrator/components/com_patchtester build/packaging/admin
6+
cp -r administrator build/packaging/administrator
77
cp -r media/com_patchtester build/packaging/media
88
rm -rf build/packaging/admin/backups/*.txt
9-
mv build/packaging/admin/patchtester.xml build/packaging/patchtester.xml
10-
mv build/packaging/admin/script.php build/packaging/script.php
9+
mv build/packaging/administrator/patchtester.xml build/packaging/patchtester.xml
10+
mv build/packaging/administrator/script.php build/packaging/script.php
1111
cd build/packaging
1212
tar jcf ../packages/com_patchtester_"$1".tar.bz2 .
1313
tar zcf ../packages/com_patchtester_"$1".tar.gz .

composer.lock

Lines changed: 7 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)