CatBlock / catblock

CatBlock - An ad-blocking extension (with an ability to replace ads by pictures) for all major desktop browsers!
https://getcatblock.com
GNU General Public License v3.0
94 stars 44 forks source link

Revisited build scripts #136

Closed tomasko126 closed 7 years ago

tomasko126 commented 7 years ago

Build and translations scripts have been revisited and improved. With this PR, we do not depend on the older Perl script but instead on our own.

Travis-CI:

make_release.py:

update_i18n.py:

I18N_include_exclude.txt:

translators.json:

Running python tools/make_release.py -b all -ext zip --updatelangs would generate all browser packages in .zip format with updated i18n.

tomasko126 commented 7 years ago

@kpeckett Please, try out running python tools/make_release.py -b all -ext zip --updatelangs and all different combinations as described in our wiki. If you have any questions/comments, please let me know :)

tomasko126 commented 7 years ago

@kpeckett I have added handling of PRs coming from forked repos. We won't be testing PRs of CatBlock extension coming from forked repos against BrowserStack, because Travis doesn't allow us to export private needed variables needed for testing against BrowserStack and I do not want to make our private username with the API key public.