diff options
author | Deathamns <deathamns@gmail.com> | 2014-11-09 17:50:58 +0100 |
---|---|---|
committer | Deathamns <deathamns@gmail.com> | 2014-11-09 18:58:46 +0100 |
commit | 0d9d285608ac73fa9523475d8e608ce846cf5911 (patch) | |
tree | f70afb468bbc99eece361223cc1765d3af900498 /tools/make-chrome.sh | |
parent | 4bf6664d6b28bfab7d1d220a40e54be0ad0ebfe2 (diff) | |
download | uBlock-0d9d285608ac73fa9523475d8e608ce846cf5911.zip uBlock-0d9d285608ac73fa9523475d8e608ce846cf5911.tar.gz uBlock-0d9d285608ac73fa9523475d8e608ce846cf5911.tar.bz2 |
Building extension files
Adds possibility to build extension files (Chrome and Safari) from
command line.
To run from the project directory:
python tools/build.py [meta]
If the optional `meta` argument is set, then only the manifest and
language files are uptated.
Without that everything is being built (extension files too) into the
`dist/build/version_number` folder.
For Chrome there will be two files, a crx, and a .zip file which
includes the key.pem private key (so this must not be shared,
it's just a bit help for publishing it to the Chrome Web Store).
Beside the extension files, update-files are generated too (for self
hosting - Safari needs it).
Diffstat (limited to 'tools/make-chrome.sh')
-rw-r--r-- | tools/make-chrome.sh | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/tools/make-chrome.sh b/tools/make-chrome.sh index 93f1625..44ba957 100644 --- a/tools/make-chrome.sh +++ b/tools/make-chrome.sh @@ -4,14 +4,14 @@ echo "*** uBlock: Creating web store package" echo "*** uBlock: Copying files" -cp -R assets ../dist/ublock/ -rm ../dist/ublock/assets/*.sh -cp -R css ../dist/ublock/ -cp -R img ../dist/ublock/ -cp -R js ../dist/ublock/ -cp -R lib ../dist/ublock/ -cp -R _locales ../dist/ublock/ -cp *.html ../dist/ublock/ -cp *.txt ../dist/ublock/ -cp manifest.json ../dist/ublock/ +cp -R assets dist/ublock/ +rm dist/ublock/assets/*.sh +cp -R css dist/ublock/ +cp -R img dist/ublock/ +cp -R js dist/ublock/ +cp -R lib dist/ublock/ +cp -R _locales dist/ublock/ +cp *.html dist/ublock/ +cp *.txt dist/ublock/ +cp manifest.json dist/ublock/ echo "*** uBlock: Package done." |