Use filenames as a definitive answer (#2006)

* Separate find_by_extension and find_by_filename
find_by_extension now takes a path as argument and not only the file extension.
Currently only find_by_extension is used as a strategy.

* Add find_by_filename as first strategy
This commit is contained in:
Paul Chaignon
2016-12-12 21:34:33 +01:00
committed by Brandon Black
parent 9d8392dab8
commit 9b941a34f0
10 changed files with 435 additions and 29 deletions

5
test/fixtures/Makefile/Makefile vendored Executable file
View File

@@ -0,0 +1,5 @@
SUBDIRS:=components test
.PHONY: ${SUBDIRS} clean
all:${SUBDIRS}
${SUBDIRS}:
${MAKE} -C $@ all