more experimentation with test stuff, tackling the source-path weirdness
This commit is contained in:
11
Makefile
11
Makefile
@@ -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 {} \; ; \
|
||||
|
Reference in New Issue
Block a user