mirror of
https://bitbucket.org/skobkin/chrome_point_plus.git
synced 2024-11-27 04:13:09 +00:00
Some scripts for building extension package.
This commit is contained in:
parent
7fcbc7c039
commit
af6cf59fdd
|
@ -55,3 +55,9 @@ npm run lint
|
||||||
```
|
```
|
||||||
grunt bump
|
grunt bump
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Запустить сборку расширения браузером:
|
||||||
|
|
||||||
|
```
|
||||||
|
/bin/bash pack_chromium.sh /usr/bin/chromium /path/to/repository/chrome_point_plus /path/to/private/key.pem
|
||||||
|
```
|
8
pack_chromium.sh
Normal file
8
pack_chromium.sh
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
BROWSER_BINARY=$1
|
||||||
|
PATH_EXTENSION=$2
|
||||||
|
PATH_KEY=$3
|
||||||
|
|
||||||
|
echo "Packing extension using $BROWSER_BINARY and key from $PATH_KEY"
|
||||||
|
#echo "$BROWSER_BINARY --pack-extension=$PATH_EXTENSION --pack-extension-key=$PATH_KEY"
|
||||||
|
eval "$BROWSER_BINARY --pack-extension=$PATH_EXTENSION --pack-extension-key=$PATH_KEY"
|
2
pack_zip.sh
Normal file
2
pack_zip.sh
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
zip -9 -r chrome_point_plus.zip chrome_point_plus
|
Loading…
Reference in a new issue