diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2020-04-07 10:06:29 -0400 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2020-04-07 10:06:29 -0400 |
| commit | 196b8cddca2f8cf6267e098f4416b99f399c4b50 (patch) | |
| tree | c01b2dbb43b7671e22f209c2630375c57ac21a77 | |
| parent | 959aa4807b69b1aba8e4818dee40da72e807019d (diff) | |
set strict options for scripts
| -rwxr-xr-x | deploy_static | 2 | ||||
| -rwxr-xr-x | process_static | 2 | ||||
| -rwxr-xr-x | validate_static | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/deploy_static b/deploy_static index d2c8d95b..4bb237e8 100755 --- a/deploy_static +++ b/deploy_static @@ -1,6 +1,6 @@ #!/bin/bash -set -o errexit +set -o errexit -o nounset -o pipefail ./validate_static ./process_static diff --git a/process_static b/process_static index d03ac408..c082e46f 100755 --- a/process_static +++ b/process_static @@ -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 diff --git a/validate_static b/validate_static index 645579d8..2ff81e8f 100755 --- a/validate_static +++ b/validate_static @@ -1,6 +1,6 @@ #!/bin/bash -set -o errexit +set -o errexit -o nounset -o pipefail shopt -s globstar jshint --verbose static/**/*.js |
