mirror of
https://github.com/joomla-extensions/patchtester.git
synced 2024-12-22 10:58:58 +00:00
Rewrite build script for new locations
This commit is contained in:
parent
e3d0730755
commit
0519aceb95
@ -1,10 +1,10 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
rm -rf site admin patchtester.xml
|
rm -rf ../packaging && mkdir ../packaging
|
||||||
rm -rf ../com_patchtester.tar.bz2 ../com_patchtester.tar.gz ../com_patchtester.zip
|
rm -rf ../packages && mkdir ../packages
|
||||||
cp -r ../administrator/components/com_patchtester admin
|
cp -r ../../administrator/components/com_patchtester ../packaging/admin
|
||||||
cp -r ../components/com_patchtester site
|
cp -r ../../components/com_patchtester ../packaging/site
|
||||||
rm -rf admin/backups/*.txt
|
rm -rf ../packaging/admin/backups/*.txt
|
||||||
mv admin/patchtester.xml patchtester.xml
|
mv ../packaging/admin/patchtester.xml ../packaging/patchtester.xml
|
||||||
tar jcf ../com_patchtester.tar.bz2 site admin patchtester.xml
|
tar jcf ../packages/com_patchtester.tar.bz2 ../packaging/site/ ../packaging/admin/ ../packaging/patchtester.xml
|
||||||
tar zcf ../com_patchtester.tar.gz site admin patchtester.xml
|
tar zcf ../packages/com_patchtester.tar.gz ../packaging/site/ ../packaging/admin ../packaging/patchtester.xml
|
||||||
zip -r ../com_patchtester.zip site/ admin/ patchtester.xml
|
zip -r ../packages/com_patchtester.zip ../packaging/ite/ ../packaging/admin/ ../packaging/patchtester.xml
|
||||||
|
Loading…
Reference in New Issue
Block a user