33
0
mirror of https://github.com/joomla-extensions/patchtester.git synced 2024-12-22 02:49:01 +00:00

Updated build script and manifest

Updated dependencies

Signed-off-by: Roland Dalmulder <contact@rolandd.com>
This commit is contained in:
Roland Dalmulder 2023-08-21 21:16:22 +02:00
parent e1faca7305
commit bafb673cbf
No known key found for this signature in database
GPG Key ID: 6D30CD38749A5B9E
4 changed files with 17 additions and 17 deletions

View File

@ -40,12 +40,14 @@
</media>
<administration>
<menu img="../media/com_patchtester/images/icon-16-patchtester.png" view="pulls">com_patchtester</menu>
<files folder="admin">
<files folder="administrator/components/com_patchtester">
<folder>backups</folder>
<folder>forms</folder>
<folder>install</folder>
<folder>language</folder>
<folder>PatchTester</folder>
<folder>services</folder>
<folder>src</folder>
<folder>tmpl</folder>
<folder>vendor</folder>
<filename>access.xml</filename>
<filename>config.xml</filename>

View File

@ -33,13 +33,10 @@ class Com_PatchtesterInstallerScript extends InstallerScript
{
$this->minimumJoomla = '4.0';
$this->minimumPhp = JOOMLA_MINIMUM_PHP;
$this->deleteFiles = array(
'/administrator/components/com_patchtester/PatchTester/View/Pulls/tmpl/default_errors.php',
);
$this->deleteFolders = array(
'/administrator/components/com_patchtester/PatchTester/Table',
$this->deleteFolders = [
'/administrator/components/com_patchtester/PatchTester',
'/components/com_patchtester',
);
];
Factory::getApplication()
->getLanguage()
->load('com_patchtester.sys', JPATH_ADMINISTRATOR, null, true);

View File

@ -3,11 +3,11 @@ cd ../../
rm -rf build/packaging && mkdir build/packaging
rm -rf build/packages && mkdir build/packages
composer install --no-dev -o
cp -r administrator/components/com_patchtester build/packaging/admin
cp -r administrator build/packaging/administrator
cp -r media/com_patchtester build/packaging/media
rm -rf build/packaging/admin/backups/*.txt
mv build/packaging/admin/patchtester.xml build/packaging/patchtester.xml
mv build/packaging/admin/script.php build/packaging/script.php
mv build/packaging/administrator/patchtester.xml build/packaging/patchtester.xml
mv build/packaging/administrator/script.php build/packaging/script.php
cd build/packaging
tar jcf ../packages/com_patchtester_"$1".tar.bz2 .
tar zcf ../packages/com_patchtester_"$1".tar.gz .

13
composer.lock generated
View File

@ -9,16 +9,16 @@
"packages-dev": [
{
"name": "squizlabs/php_codesniffer",
"version": "3.7.1",
"version": "3.7.2",
"source": {
"type": "git",
"url": "https://github.com/squizlabs/PHP_CodeSniffer.git",
"reference": "1359e176e9307e906dc3d890bcc9603ff6d90619"
"reference": "ed8e00df0a83aa96acf703f8c2979ff33341f879"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/1359e176e9307e906dc3d890bcc9603ff6d90619",
"reference": "1359e176e9307e906dc3d890bcc9603ff6d90619",
"url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/ed8e00df0a83aa96acf703f8c2979ff33341f879",
"reference": "ed8e00df0a83aa96acf703f8c2979ff33341f879",
"shasum": ""
},
"require": {
@ -54,14 +54,15 @@
"homepage": "https://github.com/squizlabs/PHP_CodeSniffer",
"keywords": [
"phpcs",
"standards"
"standards",
"static analysis"
],
"support": {
"issues": "https://github.com/squizlabs/PHP_CodeSniffer/issues",
"source": "https://github.com/squizlabs/PHP_CodeSniffer",
"wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki"
},
"time": "2022-06-18T07:21:10+00:00"
"time": "2023-02-22T23:07:41+00:00"
}
],
"aliases": [],