diff --git a/buildspec.yml b/buildspec.yml index cfa9d6368..04d164490 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -20,12 +20,12 @@ phases: - echo "Installing build dependencies..." # Install Rust with error handling - - | - if ! command -v rustc &> /dev/null; then - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y - source $HOME/.cargo/env - rustup update stable - fi + #- | + # if ! command -v rustc &> /dev/null; then + # curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y + # source $HOME/.cargo/env + # rustup update stable + # fi # Install AWS CDK globally - npm install -g aws-cdk@latest @@ -41,6 +41,7 @@ phases: pre_build: commands: + - set -e # Exit on any error - echo "Pre-build phase started on $(date)" # Install React dependencies with clean install @@ -210,4 +211,4 @@ cache: - ~/.cargo/**/* - functions/go/go.mod - functions/go/go.sum - - functions/rust/target/**/* \ No newline at end of file + - functions/rust/target/**/*