summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpaltherr <paltherr@epfl.ch>2005-01-27 14:41:14 +0000
committerpaltherr <paltherr@epfl.ch>2005-01-27 14:41:14 +0000
commit816c3d50011c50d0bf48931f87f936591d51d3ba (patch)
tree8efc0a2976bca30ab91839a0b31ca46c5ea6dc3f
parentd0cf4e00d7f234bf98af37518c26eecf169ff99c (diff)
downloadscala-816c3d50011c50d0bf48931f87f936591d51d3ba.tar.gz
scala-816c3d50011c50d0bf48931f87f936591d51d3ba.tar.bz2
scala-816c3d50011c50d0bf48931f87f936591d51d3ba.zip
- Added show-missing-examples and show-missing
-rw-r--r--Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8782f403d9..c995f26f04 100644
--- a/Makefile
+++ b/Makefile
@@ -718,9 +718,22 @@ show-missing-library :
done
@$(SORT) /tmp/check.tmp.log > /tmp/check.mkf.log
@$(FIND) $(LIBRARY_ROOT) -name "tools" -prune -o \( -name '*.java' -o -name '*.scala' \) -print | $(SORT) > /tmp/check.lst.log
+ @$(ECHO) Missing library source files:
@$(COMM) -1 -3 /tmp/check.mkf.log /tmp/check.lst.log
+ @$(ECHO)
@$(RM) /tmp/check.tmp.log /tmp/check.mkf.log /tmp/check.lst.log
+show-missing-examples :
+ @$(RM) /tmp/check.tmp.log /tmp/check.mkf.log /tmp/check.lst.log
+ @for filename in $(EXAMPLES_FILES:%='%'); do \
+ echo $$filename | $(TR) " " "\n" >> /tmp/check.tmp.log; \
+ done
+ @$(SORT) /tmp/check.tmp.log > /tmp/check.mkf.log
+ @$(FIND) $(EXAMPLES_ROOT) -name '*.scala' | $(SORT) >/tmp/check.lst.log
+ @$(ECHO) Missing examples:
+ @$(COMM) -1 -3 /tmp/check.mkf.log /tmp/check.lst.log
+ @$(ECHO)
+ @$(RM) /tmp/check.tmp.log /tmp/check.mkf.log /tmp/check.lst.log
show-missing-test :
@$(RM) /tmp/check.tmp.log /tmp/check.mkf.log /tmp/check.lst.log
@@ -729,9 +742,18 @@ show-missing-test :
done
@$(SORT) /tmp/check.tmp.log > /tmp/check.mkf.log
@$(FIND) $(TEST_ROOT) -name '*.scala' | $(SORT) > /tmp/check.lst.log
+ @$(ECHO) Missing tests:
@$(COMM) -1 -3 /tmp/check.mkf.log /tmp/check.lst.log
+ @$(ECHO)
@$(RM) /tmp/check.tmp.log /tmp/check.mkf.log /tmp/check.lst.log
+show-missing : show-missing-library
+show-missing : show-missing-examples
+show-missing : show-missing-test
+
+.PHONY : show-missing-library
+.PHONY : show-missing-examples
+.PHONY : show-missing-test
.PHONY : show-missing
##############################################################################