mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 01:02:08 +01:00
Use set -e in Bash scripts (#3791)
This commit is contained in:
parent
43b7cc37e0
commit
be68a6b5b4
11 changed files with 23 additions and 1 deletions
|
@ -2,6 +2,8 @@
|
||||||
#
|
#
|
||||||
# This script assumes a linux environment
|
# This script assumes a linux environment
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
DES=$1
|
DES=$1
|
||||||
|
|
||||||
bash ./tools/make-assets.sh $DES
|
bash ./tools/make-assets.sh $DES
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
#
|
#
|
||||||
# This script assumes a linux environment
|
# This script assumes a linux environment
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
echo "*** uBlock: Importing from Crowdin archive"
|
echo "*** uBlock: Importing from Crowdin archive"
|
||||||
|
|
||||||
SRC=~/Downloads/crowdin
|
SRC=~/Downloads/crowdin
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
#
|
#
|
||||||
# This script assumes a linux environment
|
# This script assumes a linux environment
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
DES=$1/assets
|
DES=$1/assets
|
||||||
|
|
||||||
echo "*** Packaging assets in $DES... "
|
echo "*** Packaging assets in $DES... "
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
#
|
#
|
||||||
# This script assumes a linux environment
|
# This script assumes a linux environment
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
DES=dist/build/uBlock0.browser
|
DES=dist/build/uBlock0.browser
|
||||||
|
|
||||||
mkdir -p $DES/js
|
mkdir -p $DES/js
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
#
|
#
|
||||||
# This script assumes a linux environment
|
# This script assumes a linux environment
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
echo "*** uBlock0.chromium: Creating web store package"
|
echo "*** uBlock0.chromium: Creating web store package"
|
||||||
|
|
||||||
DES=dist/build/uBlock0.chromium
|
DES=dist/build/uBlock0.chromium
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
#
|
#
|
||||||
# This script assumes a linux environment
|
# This script assumes a linux environment
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
echo "*** uBlock: Cleaning."
|
echo "*** uBlock: Cleaning."
|
||||||
rm -R dist/build
|
rm -Rf dist/build
|
||||||
echo "*** uBlock: Cleaned."
|
echo "*** uBlock: Cleaned."
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
#
|
#
|
||||||
# This script assumes a linux environment
|
# This script assumes a linux environment
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
echo "*** uBlock0.firefox: Creating web store package"
|
echo "*** uBlock0.firefox: Creating web store package"
|
||||||
|
|
||||||
BLDIR=dist/build
|
BLDIR=dist/build
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
#
|
#
|
||||||
# This script assumes a linux environment
|
# This script assumes a linux environment
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
DES=dist/build/uBlock0.nodejs
|
DES=dist/build/uBlock0.nodejs
|
||||||
|
|
||||||
mkdir -p $DES/js
|
mkdir -p $DES/js
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
#
|
#
|
||||||
# This script assumes a linux environment
|
# This script assumes a linux environment
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
echo "*** uBlock0.opera: Creating web store package"
|
echo "*** uBlock0.opera: Creating web store package"
|
||||||
|
|
||||||
DES=dist/build/uBlock0.opera
|
DES=dist/build/uBlock0.opera
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
#
|
#
|
||||||
# This script assumes a linux environment
|
# This script assumes a linux environment
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
echo "*** uBlock0.thunderbird: Creating web store package"
|
echo "*** uBlock0.thunderbird: Creating web store package"
|
||||||
|
|
||||||
BLDIR=dist/build
|
BLDIR=dist/build
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
#
|
#
|
||||||
# This script assumes a linux environment
|
# This script assumes a linux environment
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
echo "*** Update submodules"
|
echo "*** Update submodules"
|
||||||
|
|
||||||
git submodule update --remote
|
git submodule update --remote
|
||||||
|
|
Loading…
Reference in a new issue