Skip to content

Commit

Permalink
build script exit on the 1st failed command
Browse files Browse the repository at this point in the history
  • Loading branch information
pierrebruninmaif committed Mar 2, 2022
1 parent eb5fce3 commit 0b4b3f3
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions scripts/build-documentation.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env bash
set -e

sbt 'izanami-documentation/generateDoc'
1 change: 1 addition & 0 deletions scripts/build-javascript.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
set -e

LOCATION=`pwd`

Expand Down
1 change: 1 addition & 0 deletions scripts/build-rust.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
set -e

LOCATION=`pwd`

Expand Down
1 change: 1 addition & 0 deletions scripts/fmt.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
set -e

LOCATION=`pwd`

Expand Down
1 change: 1 addition & 0 deletions scripts/publish-npm.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
set -e

LOCATION=$(pwd)

Expand Down
1 change: 1 addition & 0 deletions scripts/runIt.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
set -e

DOCKER=$1
TEST=$2
Expand Down
1 change: 1 addition & 0 deletions scripts/sbt-publish.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
set -e

BRANCH_NAME=`git branch --show-current`

Expand Down

0 comments on commit 0b4b3f3

Please sign in to comment.