mirror of
https://github.com/joomla-extensions/patchtester.git
synced 2024-11-15 17:47:10 +00:00
05929bb408
Signed-off-by: Roland Dalmulder <contact@rolandd.com>
18 lines
675 B
Bash
Executable File
18 lines
675 B
Bash
Executable File
#!/bin/sh
|
|
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 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
|
|
cd build/packaging
|
|
tar jcf ../packages/com_patchtester_"$1".tar.bz2 .
|
|
tar zcf ../packages/com_patchtester_"$1".tar.gz .
|
|
zip -r ../packages/com_patchtester_"$1".zip .
|
|
cd ../../
|
|
composer install
|
|
php build/patchtester/hash_generator.php
|