Fail on build errors. Quote npm args
This commit is contained in:
parent
257d1b3c7e
commit
265df4aa77
4
build.sh
4
build.sh
@ -1,8 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash -e
|
||||||
|
|
||||||
# Concourse Worker doesn't support IPv6 well yet.
|
# Concourse Worker doesn't support IPv6 well yet.
|
||||||
function npm-ipv4() {
|
function npm-ipv4() {
|
||||||
node --dns-result-order=ipv4first $(which npm) $*
|
node --dns-result-order=ipv4first $(which npm) "$*"
|
||||||
}
|
}
|
||||||
npm-ipv4 install -Dy
|
npm-ipv4 install -Dy
|
||||||
npm-ipv4 -y exec webpack
|
npm-ipv4 -y exec webpack
|
||||||
|
Loading…
Reference in New Issue
Block a user