From 3d43984fe8a7613776b3c1e097b9809a34db1289 Mon Sep 17 00:00:00 2001 From: Andrew Chow Date: Sun, 24 May 2020 19:24:39 -0400 Subject: [PATCH] Use set -ex in all bash scripts --- contrib/build_bin.sh | 2 ++ contrib/build_dist.sh | 2 ++ contrib/build_wine.sh | 2 +- contrib/generate-ui.sh | 2 ++ contrib/generate_setup.sh | 2 +- 5 files changed, 8 insertions(+), 2 deletions(-) diff --git a/contrib/build_bin.sh b/contrib/build_bin.sh index 8109da6..99e2082 100755 --- a/contrib/build_bin.sh +++ b/contrib/build_bin.sh @@ -1,6 +1,8 @@ #! /bin/bash # Script for building standalone binary releases deterministically +set -ex + eval "$(pyenv init -)" eval "$(pyenv virtualenv-init -)" pip install -U pip diff --git a/contrib/build_dist.sh b/contrib/build_dist.sh index aba635f..c8bd7fd 100755 --- a/contrib/build_dist.sh +++ b/contrib/build_dist.sh @@ -1,6 +1,8 @@ #! /bin/bash # Script for building pypi distribution archives deterministically +set -ex + eval "$(pyenv init -)" eval "$(pyenv virtualenv-init -)" pip install -U pip diff --git a/contrib/build_wine.sh b/contrib/build_wine.sh index 4d1a071..7b48b20 100755 --- a/contrib/build_wine.sh +++ b/contrib/build_wine.sh @@ -1,7 +1,7 @@ #!/bin/bash # Script which sets up Wine and builds the Windows standalone binary -set -e +set -ex PYTHON_VERSION=3.6.8 diff --git a/contrib/generate-ui.sh b/contrib/generate-ui.sh index fb17e34..9fc982e 100755 --- a/contrib/generate-ui.sh +++ b/contrib/generate-ui.sh @@ -1,5 +1,7 @@ #! /bin/bash +set -ex + pushd hwilib/ui for file in *.ui do diff --git a/contrib/generate_setup.sh b/contrib/generate_setup.sh index 098d9ea..3e3424d 100755 --- a/contrib/generate_setup.sh +++ b/contrib/generate_setup.sh @@ -1,7 +1,7 @@ #! /bin/bash # Generates the setup.py file -set -e +set -ex # Setup poetry and install the dependencies poetry install -E qt