Skip to content

Commit 9ca9aea

Browse files
refactor: [UEPR-43] Change handling failures
1 parent 77df416 commit 9ca9aea

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

scripts/build-packages.sh

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
11
#!/bin/bash
22

3+
set -e
4+
35
cd ./packages/scratch-svg-renderer
4-
npm run build || return 1
6+
npm run build
57
cd -
68

79
cd ./packages/scratch-render
8-
npm run build || return 1
10+
npm run build
911
cd -
1012

1113
cd ./packages/scratch-vm
12-
npm run build || return 1
14+
npm run build
1315
cd -
1416

1517
cd ./packages/scratch-gui
1618
npm run prepublish
17-
NODE_ENV=production npm run build || return 1
19+
NODE_ENV=production npm run build
1820
cd -

0 commit comments

Comments
 (0)