File tree Expand file tree Collapse file tree 5 files changed +78
-66
lines changed
Expand file tree Collapse file tree 5 files changed +78
-66
lines changed Original file line number Diff line number Diff line change 1818/.idea
1919
2020# Composer Install #
21- /vendor
21+ /administrator / components / com_patchtester / vendor
Original file line number Diff line number Diff line change @@ -21,5 +21,5 @@ before_script:
2121 - composer install
2222
2323script :
24- - if [[ $RUN_PHPCS == "yes" ]]; then vendor/bin/phpcs --report=full --extensions=php -p --standard=build/phpcs/Joomla --ignore=./*tmpl/* administrator/components/com_patchtester; fi
25- - if [[ $UPDATE_CROWDIN == "yes" && $TRAVIS_PULL_REQUEST == "false" && $TRAVIS_BRANCH == "master" ]]; then vendor/bin/crowdin --upload; fi
24+ - if [[ $RUN_PHPCS == "yes" ]]; then administrator/components/com_patchtester/ vendor/bin/phpcs --report=full --extensions=php -p --standard=build/phpcs/Joomla --ignore=./*tmpl/* administrator/components/com_patchtester; fi
25+ - if [[ $UPDATE_CROWDIN == "yes" && $TRAVIS_PULL_REQUEST == "false" && $TRAVIS_BRANCH == "master" ]]; then administrator/components/com_patchtester/ vendor/bin/crowdin --upload; fi
Original file line number Diff line number Diff line change 11#! /bin/sh
2- rm -rf ../packaging && mkdir ../packaging
3- rm -rf ../packages && mkdir ../packages
4- cp -r ../../administrator/components/com_patchtester ../packaging/admin
5- cp -r ../../administrator/templates/hathor/html/com_patchtester ../packaging/hathor
6- cp -r ../../media/com_patchtester ../packaging/media
7- rm -rf ../packaging/admin/backups/* .txt
8- mv ../packaging/admin/patchtester.xml ../packaging/patchtester.xml
9- mv ../packaging/admin/script.php ../packaging/script.php
10- cd ../packaging
11- tar jcf ../packages/com_patchtester.tar.bz2 admin/ hathor/ media/ patchtester.xml script.php
12- tar zcf ../packages/com_patchtester.tar.gz admin/ hathor/ media/ patchtester.xml script.php
13- zip -r ../packages/com_patchtester.zip admin/ hathor/ media/ patchtester.xml script.php
2+ cd ../../
3+ rm -rf packaging && mkdir packaging
4+ rm -rf packages && mkdir packages
5+ composer install --no-dev
6+ cp -r administrator/components/com_patchtester packaging/admin
7+ cp -r administrator/templates/hathor/html/com_patchtester packaging/hathor
8+ cp -r media/com_patchtester packaging/media
9+ rm -rf packaging/admin/backups/* .txt
10+ mv packaging/admin/patchtester.xml packaging/patchtester.xml
11+ mv packaging/admin/script.php packaging/script.php
12+ cd packaging
13+ tar jcf packages/com_patchtester.tar.bz2 admin/ hathor/ media/ patchtester.xml script.php
14+ tar zcf packages/com_patchtester.tar.gz admin/ hathor/ media/ patchtester.xml script.php
15+ zip -r packages/com_patchtester.zip admin/ hathor/ media/ patchtester.xml script.php
16+ composer install
Original file line number Diff line number Diff line change 55 "keywords" : [" joomla" , " cms" ],
66 "homepage" : " https://github.com/joomla-extensions/patchtester" ,
77 "license" : " GPL-2.0+" ,
8+ "config" : {
9+ "vendor-dir" : " administrator/components/com_patchtester/vendor"
10+ },
811 "require" : {
912 "php" : " >=5.3.10"
1013 },
You can’t perform that action at this time.
0 commit comments