set strict options for scripts
This commit is contained in:
parent
959aa4807b
commit
196b8cddca
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
set -o errexit
|
set -o errexit -o nounset -o pipefail
|
||||||
|
|
||||||
./validate_static
|
./validate_static
|
||||||
./process_static
|
./process_static
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
set -o errexit
|
set -o errexit -o nounset -o pipefail
|
||||||
|
|
||||||
rm -rf static_tmp
|
rm -rf static_tmp
|
||||||
cp -a static static_tmp
|
cp -a static static_tmp
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
set -o errexit
|
set -o errexit -o nounset -o pipefail
|
||||||
shopt -s globstar
|
shopt -s globstar
|
||||||
|
|
||||||
jshint --verbose static/**/*.js
|
jshint --verbose static/**/*.js
|
||||||
|
Loading…
x
Reference in New Issue
Block a user