From 57f0269491d6d1fa7f4432b43e04d08f80ca5238 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Mon, 12 Sep 2016 18:13:26 -0700 Subject: [PATCH] build(examples): fail build.sh if errors are found --- modules/@angular/examples/build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/@angular/examples/build.sh b/modules/@angular/examples/build.sh index e49a0b14d3..c4e1e92fda 100755 --- a/modules/@angular/examples/build.sh +++ b/modules/@angular/examples/build.sh @@ -1,4 +1,6 @@ -#!/bin/sh +#!/usr/bin/env bash + +set -e -o pipefail # # This script is used to compile and copy the contents for each of