set strict options for scripts

This commit is contained in:
Daniel Micay 2020-04-07 10:06:29 -04:00
parent 959aa4807b
commit 196b8cddca
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
#!/bin/bash
set -o errexit
set -o errexit -o nounset -o pipefail
./validate_static
./process_static

View File

@ -1,6 +1,6 @@
#!/bin/bash
set -o errexit
set -o errexit -o nounset -o pipefail
rm -rf static_tmp
cp -a static static_tmp

View File

@ -1,6 +1,6 @@
#!/bin/bash
set -o errexit
set -o errexit -o nounset -o pipefail
shopt -s globstar
jshint --verbose static/**/*.js