DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Mercurial (5216dd412535)

VCS Links

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
$(shell \
touch test.file; \
touch .testhidden; \
mkdir foo; \
touch foo/testfile; \
)

all:
	test "$(abspath test.file)" = "$(CURDIR)/test.file"
	test "$(realpath test.file)" = "$(CURDIR)/test.file"
	test "$(sort $(wildcard *))" = "foo test.file"
# commented out because GNU make matches . and .. while python doesn't, and I don't
# care enough
#	test "$(sort $(wildcard .*))" = ". .. .testhidden"
	test "$(sort $(wildcard test*))" = "test.file"
	test "$(sort $(wildcard foo/*))" = "foo/testfile"
	test "$(sort $(wildcard ./*))" = "./foo ./test.file"
	test "$(sort $(wildcard f?o/*))" = "foo/testfile"
	@echo TEST-PASS