diff --git a/.env b/.env deleted file mode 100644 index 4c2fd6e..0000000 --- a/.env +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -if lsvirtualenv | grep -qm1 '^antigen$'; then - workon antigen -else - mkvirtualenv antigen - pip install -r requirements.txt -fi diff --git a/Makefile b/Makefile index bed40b1..13ac11a 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,9 @@ .PHONY: itests tests +TESTS ?= tests + itests: - ZDOTDIR="${PWD}/tests" cram -i --shell=zsh tests + ${MAKE} tests CRAM_OPTS=-i tests: - ZDOTDIR="${PWD}/tests" cram --shell=zsh tests + . .pyenv/bin/activate && ZDOTDIR="${PWD}/tests" cram ${CRAM_OPTS} --shell=zsh ${TESTS}