mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-04 17:35:42 +02:00
Guard against missing source file in test invocation
This commit is contained in:
@@ -69,7 +69,7 @@ SPACE = $(NULL) $(NULL)
|
|||||||
test: tippecanoe tippecanoe-decode $(addsuffix .check,$(TESTS)) parallel-test
|
test: tippecanoe tippecanoe-decode $(addsuffix .check,$(TESTS)) parallel-test
|
||||||
|
|
||||||
%.json.check:
|
%.json.check:
|
||||||
./tippecanoe -f -o $@.mbtiles $(subst _, ,$(patsubst %.json.check,%,$(word 4,$(subst /, ,$@)))) $(wildcard $(subst $(SPACE),/,$(wordlist 1,2,$(subst /, ,$@)))/*.json)
|
./tippecanoe -f -o $@.mbtiles $(subst _, ,$(patsubst %.json.check,%,$(word 4,$(subst /, ,$@)))) $(wildcard $(subst $(SPACE),/,$(wordlist 1,2,$(subst /, ,$@)))/*.json) < /dev/null
|
||||||
./tippecanoe-decode $@.mbtiles > $@.out
|
./tippecanoe-decode $@.mbtiles > $@.out
|
||||||
cmp $(patsubst %.check,%,$@) $@.out
|
cmp $(patsubst %.check,%,$@) $@.out
|
||||||
rm $@.out $@.mbtiles
|
rm $@.out $@.mbtiles
|
||||||
|
|||||||
Reference in New Issue
Block a user