Commit 8551f541 authored by Gyanendra Mishra's avatar Gyanendra Mishra

fix build script

parent df3397ba
...@@ -7,22 +7,10 @@ root_dirpath="$(dirname "${script_dirpath}")" ...@@ -7,22 +7,10 @@ root_dirpath="$(dirname "${script_dirpath}")"
# ==================================================================================================
# Constants
# ==================================================================================================
BUILD_SCRIPT_RELATIVE_FILEPATHS=(
"golang/scripts/build.sh"
"typescript/scripts/build.sh"
)
# ================================================================================================== # ==================================================================================================
# Main Logic # Main Logic
# ================================================================================================== # ==================================================================================================
for build_script_rel_filepath in "${BUILD_SCRIPT_RELATIVE_FILEPATHS[@]}"; do
build_script_abs_filepath="${root_dirpath}/${build_script_rel_filepath}" if ! bash "kurtosis" "startosis" "exec" "${root_dirpath}"; then
if ! bash "${build_script_abs_filepath}"; then echo "Error: running the startosis script"
echo "Error: Build script '${build_script_abs_filepath}' failed" >&2 fi
exit 1 \ No newline at end of file
fi
done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment