Explorar el Código

Foreach with explosion

Andy Baugh hace 3 meses
padre
commit
d5256cd593
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      Makefile

+ 2 - 2
Makefile

@@ -1,8 +1,8 @@
 test: compilecheck
 	prove -mv t/*.t
 
-FILES2CHECK = $(shell find lib/ -name '*.pm')
+FILES2CHECK := $(shell find lib/ -name '*.pm')
 compilecheck:
-	$(foreach FILE,$(FILES2CHECK),perl -Ilib -c $(FILE);)
+	$(foreach FILE,$(FILES2CHECK),perl -Ilib -c $(FILE) &&) /bin/true
 
 .PHONY: compilecheck test