3 # Build helper script for https://github.com/Netflix/vector/
13 for command in bower gulp node npm
15 which $command >/dev
/null
2>&1 || fail_and_bail
"$command not installed"
18 test -f vector.png
-o -f assets
/images
/vector_owl.png || \
19 fail_and_bail
"Not in a Vector source tree?"
21 rm -rf node_modules
2>/dev
/null
22 npm
install || fail_and_bail
"npm install failed in" `pwd`
23 bower
install || fail_and_bail
"bower install failed in" `pwd`
24 gulp build || fail_and_bail
"gulp build failed in" `pwd`