mirror of
https://github.com/Tarrasch/zsh-autoenv.git
synced 2024-12-22 02:40:16 +02:00
Travis: actually use different ZDOTDIRs (#83)
This commit is contained in:
parent
51c7421f10
commit
76e387c766
@ -18,4 +18,4 @@ install:
|
||||
- export SHELL=zsh
|
||||
script:
|
||||
- zsh --version
|
||||
- make test
|
||||
- make test ZDOTDIR=$ZDOTDIR
|
||||
|
9
Makefile
9
Makefile
@ -1,16 +1,15 @@
|
||||
# Default, can be overridden using "make test ZDOTDIR=...".
|
||||
ZDOTDIR:=${CURDIR}/tests/ZDOTDIR
|
||||
|
||||
# Export it, and make it absolute.
|
||||
override export ZDOTDIR:=$(abspath $(ZDOTDIR))
|
||||
# Make it absolute.
|
||||
override ZDOTDIR:=$(abspath $(ZDOTDIR))
|
||||
|
||||
TEST_SHELL:=zsh
|
||||
|
||||
test:
|
||||
cram --shell=$(TEST_SHELL) -v tests
|
||||
ZDOTDIR=$(ZDOTDIR) cram --shell=$(TEST_SHELL) -v tests
|
||||
|
||||
itest:
|
||||
cram -i --shell=$(TEST_SHELL) tests
|
||||
ZDOTDIR=$(ZDOTDIR) cram -i --shell=$(TEST_SHELL) tests
|
||||
|
||||
# Run tests with all ZDOTDIRs.
|
||||
test_full:
|
||||
|
Loading…
Reference in New Issue
Block a user