more experimentation with test stuff, tackling the source-path weirdness

This commit is contained in:
Dan Buch
2010-02-24 20:20:19 -05:00
parent 3b76b398e0
commit de198dc590
6 changed files with 367 additions and 170 deletions

View File

@@ -18,8 +18,11 @@ MXMLC_FLAGS += -l+=$(HOME)/.local/share/flexunit
# define all dependency mxml paths and their swf path targets
# (which don't yet exist if they've never been built)
MXML = $(wildcard [0-9]*-*/*.mxml) $(wildcard custom-*/*.mxml)
SWFS = $(patsubst %.mxml,%.swf,$(MXML))
MXML = $(wildcard ./*-*/*.mxml)
TEST_CLASSES = $(wildcard ./*-*/*/tests/Test*.as) \
$(wildcard ./*-*/tests/Test*.as) \
$(wildcard ./*-*/*/*/tests/Test*.as)
SWFS = $(patsubst %.mxml,%.swf,$(MXML)) $(patsubst %.as,%.swf,$(TEST_CLASSES))
# glob up all component files as well, since changes to them
@@ -49,6 +52,10 @@ swfs:
@echo $(SWFS)
test_classes:
@echo $(TEST_CLASSES)
# remove all swf files in the tree
clean:
find -name \*.swf -exec rm {} \; ; \