Skip to content

Commit

Permalink
build: Abort on errors (#17)
Browse files Browse the repository at this point in the history
Without -e the scripts would just go on ignoring any errors possibly
happening.
  • Loading branch information
agx authored Aug 28, 2024
1 parent e7c6017 commit cfbfea4
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build_all_packs.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/usr/bin/env bash

set -e

schemes=("as" "bn" "gu" "hi" "kn" "ml" "ml-inscript" "mr" "ne" "or" "pa" "sa" "ta" "te")
for schemeID in ${schemes[@]}; do
for packDir in schemes/$schemeID/*/ ; do
Expand Down
2 changes: 2 additions & 0 deletions build_all_schemes.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/usr/bin/env bash

set -e

schemes=("as" "bn" "gu" "hi" "kn" "ml" "ml-inscript" "mr" "ne" "or" "pa" "sa" "ta" "te")
for f in ${schemes[@]}; do
./build_scheme.sh $f
Expand Down
2 changes: 2 additions & 0 deletions build_scheme.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/usr/bin/env bash

set -e

f=$1
vst=schemes/$f/$f.vst
./compile-scheme.rb -s schemes/$f/$f.scheme -o $vst
Expand Down
2 changes: 2 additions & 0 deletions build_source_with_lfs_zip.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
set -e

git lfs fetch
zip -r source-with-lfs.zip . -x '.git'
2 changes: 2 additions & 0 deletions build_zips.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/usr/bin/env bash

set -e

cd schemes

schemes=("as" "bn" "gu" "hi" "kn" "ml" "ml-inscript" "mr" "ne" "or" "pa" "sa" "ta" "te")
Expand Down
2 changes: 2 additions & 0 deletions install_all_schemes.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/usr/bin/env bash

set -e

SUDO=${SUDO:-sudo}
PREFIX=/usr/local

Expand Down

0 comments on commit cfbfea4

Please sign in to comment.