We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 87accb5 + 66d0910 commit 1d01abeCopy full SHA for 1d01abe
circleci_validate.sh
@@ -1,6 +1,12 @@
1
#!/usr/bin/env bash
2
set -e
3
4
+if ! command -v circleci &> /dev/null
5
+then
6
+ echo "Circleci CLI could not be found. Install the latest CLI version https://circleci.com/docs/2.0/local-cli/#installation"
7
+ exit 1
8
+fi
9
+
10
if ! eMSG=$(circleci config validate -c .circleci/config.yml); then
11
echo "CircleCI Configuration Failed Validation."
12
echo $eMSG
0 commit comments