Skip to content

Commit 8f49041

Browse files
committed
set -euo pipefail
1 parent cc54537 commit 8f49041

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

scripts/generate.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
#!/usr/bin/env sh
2+
set -euo pipefail
3+
24
cd "$(dirname "$0")/.."
35
docker run -it --rm -v $(pwd):/material:ro -v $(pwd)/out:/out ghcr.io/edinburghhacklab/hacklab-training:main /material /out $@

scripts/new-tool.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/usr/bin/env bash
2+
set -euo pipefail
3+
24
cd "$(dirname "$0")/.."
35
if [[ $# -lt 2 ]]; then
46
echo "Usage: $0 <tool name> <tool location>"

scripts/open.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/usr/bin/env sh
2+
set -euo pipefail
3+
24
cd "$(dirname "$0")/.."
35
./scripts/generate.sh $@
46
xdg-open out/

0 commit comments

Comments
 (0)