Просмотр исходного кода

Merge pull request #257 from chrboesch/eowyn

Added a loop for the formatting test, so we can see where errors happen.
Chris Boesch 2 лет назад
Родитель
Сommit
cbf265ab98
1 измененных файлов с 6 добавлено и 1 удалено
  1. 6 1
      patches/eowyn.sh

+ 6 - 1
patches/eowyn.sh

@@ -42,8 +42,13 @@ do
     fi
 done
 
+# Test the correct formatting of the healed exercises.
 echo "Looking for non-conforming code formatting..."
-zig fmt --check patches/healed
+for healed in patches/healed/*.zig
+do
+	echo Check $(basename "$healed")
+	zig fmt --check "$healed"
+done
 
 # Test the healed exercises. May the compiler have mercy upon us.
 zig build -Dhealed