File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ rec {
101101 '' ;
102102 postInstall = ''
103103 cp -r latex/ Makefile typecheck.time $out
104- sh checkTypeChecked.sh
104+ sh checkTypeChecked.sh -m
105105 '' ;
106106 extraExtensions = [ "hs" "cabal" "py" ] ;
107107 } ;
Original file line number Diff line number Diff line change @@ -4,8 +4,10 @@ echo "Checking that all Agda files have been typechecked..."
44for agdaFn in $( find . -name ' *.*agda' ) ; do
55 agdaiFn=" _build/2.7.0/agda/${agdaFn% .* agda} .agdai"
66 if [ " $(( $(stat - c "% Y" $agdaiFn ) - $(stat - c "% Y" $agdaFn ) )) " -lt " 0" ]; then
7- echo " FAIL: $agdaiFn is not up-to-date"
7+ if [ " $1 " = " -m" ]; then
8+ echo " FAIL: $agdaiFn does not exist. Please remove the corresponding agda file or import it somewhere, e.g. from the Everything module."
9+ fi
810 exit 1
911 fi
1012done
11- echo " PASS: all Agda files have been typechecked"
13+ echo " PASS: all Agda files have been typechecked. "
You can’t perform that action at this time.
0 commit comments