mirror of https://github.com/nucypher/nucypher.git
12 lines
361 B
Bash
12 lines
361 B
Bash
#!/usr/bin/env bash
|
|
|
|
# The following line is needed by the CircleCI Local Build Tool (due to Docker interactivity)
|
|
exec < /dev/tty
|
|
|
|
# If validation fails, tell Git to stop and provide error message. Otherwise, continue.
|
|
if ! eMSG=$(circleci config validate -c .circleci/config.yml); then
|
|
echo "CircleCI Configuration Failed Validation."
|
|
echo $eMSG
|
|
exit 1
|
|
fi
|