You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
304 B

6 years ago
.PHONY: all
all: | clean
$(MAKE) lazy-rebuild test
6 years ago
clean:
rm -rf test
6 years ago
rm -f lazy-rebuild
6 years ago
lazy-rebuild:
go build -o $@
strip $@
6 years ago
test:
mkdir test
touch test/file1.txt
touch test/file2
touch test/collision
touch test/file3.txt.longext
echo unique > test/uni.txt
./lazy-rebuild --long test