mirror of
https://github.com/Tarrasch/zsh-autoenv.git
synced 2024-11-26 00:40:59 +02:00
make: fix calling tests files directly
This commit is contained in:
parent
7a0a67a982
commit
392bca542c
2
Makefile
2
Makefile
@ -21,7 +21,7 @@ TESTS:=$(wildcard tests/*.t)
|
|||||||
uniq = $(if $1,$(firstword $1) $(call uniq,$(filter-out $(firstword $1),$1)))
|
uniq = $(if $1,$(firstword $1) $(call uniq,$(filter-out $(firstword $1),$1)))
|
||||||
_TESTS_REL_AND_ABS:=$(call uniq,$(abspath $(TESTS)) $(TESTS))
|
_TESTS_REL_AND_ABS:=$(call uniq,$(abspath $(TESTS)) $(TESTS))
|
||||||
$(_TESTS_REL_AND_ABS):
|
$(_TESTS_REL_AND_ABS):
|
||||||
ZDOTDIR="${CURDIR}/tests" cram --shell=zsh -v $@
|
cram --shell=zsh -v $@
|
||||||
.PHONY: $(_TESTS_REL_AND_ABS)
|
.PHONY: $(_TESTS_REL_AND_ABS)
|
||||||
|
|
||||||
.PHONY: itest test
|
.PHONY: itest test
|
||||||
|
Loading…
Reference in New Issue
Block a user