From 895159331a470b00388bee20770d288c1d71a582 Mon Sep 17 00:00:00 2001 From: Ju4tCode <42488585+yanyongyu@users.noreply.github.com> Date: Wed, 31 Jul 2024 07:44:57 +0000 Subject: [PATCH] :hammer: update scripts --- scripts/run-codegen.sh | 4 +++- scripts/run-tests.sh | 4 +++- scripts/setup-envs.sh | 4 +++- scripts/update-envs.sh | 4 +++- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/scripts/run-codegen.sh b/scripts/run-codegen.sh index 4e9f3b85b..fb60a8550 100755 --- a/scripts/run-codegen.sh +++ b/scripts/run-codegen.sh @@ -1,4 +1,6 @@ -#! /usr/bin/env bash +#!/usr/bin/env bash + +set -e # cd to the root of the project cd "$(dirname "$0")/.." diff --git a/scripts/run-tests.sh b/scripts/run-tests.sh index 0c597c991..8f57f5e31 100755 --- a/scripts/run-tests.sh +++ b/scripts/run-tests.sh @@ -1,4 +1,6 @@ -#! /usr/bin/env bash +#!/usr/bin/env bash + +set -e # cd to the root of the project cd "$(dirname "$0")/.." diff --git a/scripts/setup-envs.sh b/scripts/setup-envs.sh index 6eaf37245..10d754164 100755 --- a/scripts/setup-envs.sh +++ b/scripts/setup-envs.sh @@ -1,4 +1,6 @@ -#! /usr/bin/env bash +#!/usr/bin/env bash + +set -e # config poetry to install env in project poetry config virtualenvs.in-project true diff --git a/scripts/update-envs.sh b/scripts/update-envs.sh index cdd1b13b7..d32c6c50e 100755 --- a/scripts/update-envs.sh +++ b/scripts/update-envs.sh @@ -1,4 +1,6 @@ -#! /usr/bin/env bash +#!/usr/bin/env bash + +set -e # update test env echo "Updating test env..."