diff options
author | paltherr <paltherr@epfl.ch> | 2005-01-27 14:41:14 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2005-01-27 14:41:14 +0000 |
commit | 816c3d50011c50d0bf48931f87f936591d51d3ba (patch) | |
tree | 8efc0a2976bca30ab91839a0b31ca46c5ea6dc3f /Makefile | |
parent | d0cf4e00d7f234bf98af37518c26eecf169ff99c (diff) | |
download | scala-816c3d50011c50d0bf48931f87f936591d51d3ba.tar.gz scala-816c3d50011c50d0bf48931f87f936591d51d3ba.tar.bz2 scala-816c3d50011c50d0bf48931f87f936591d51d3ba.zip |
- Added show-missing-examples and show-missing
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -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 ############################################################################## |