diff options
Diffstat (limited to 'scripts/dhall_check.sh')
-rwxr-xr-x | scripts/dhall_check.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/dhall_check.sh b/scripts/dhall_check.sh index 009d570..a3413ec 100755 --- a/scripts/dhall_check.sh +++ b/scripts/dhall_check.sh | |||
@@ -13,6 +13,7 @@ go() { | |||
13 | for file in $(find -type f -name "*.dhall"); do | 13 | for file in $(find -type f -name "*.dhall"); do |
14 | pushd $(dirname $file); | 14 | pushd $(dirname $file); |
15 | cat $(basename $file) | dhall --explain resolve > /dev/null; | 15 | cat $(basename $file) | dhall --explain resolve > /dev/null; |
16 | echo "Typechecking ${file}" | ||
16 | if [ "$?" -ne "0" ]; then | 17 | if [ "$?" -ne "0" ]; then |
17 | echo "Failed to resolve $file" | 18 | echo "Failed to resolve $file" |
18 | ERROR=1; | 19 | ERROR=1; |