Commit 164249dff95f4beeeed954f53601403c4244fce4

Authored by Shrikant Sharat
1 parent 6e46764655

Remove .env and a better Makefile.

Showing 2 changed files with 4 additions and 10 deletions Side-by-side Diff

... ... @@ -1,8 +0,0 @@
1   -#!/bin/bash
2   -
3   -if lsvirtualenv | grep -qm1 '^antigen$'; then
4   - workon antigen
5   -else
6   - mkvirtualenv antigen
7   - pip install -r requirements.txt
8   -fi
1 1 .PHONY: itests tests
2 2  
  3 +TESTS ?= tests
  4 +
3 5 itests:
4   - ZDOTDIR="${PWD}/tests" cram -i --shell=zsh tests
  6 + ${MAKE} tests CRAM_OPTS=-i
5 7  
6 8 tests:
7   - ZDOTDIR="${PWD}/tests" cram --shell=zsh tests
  9 + . .pyenv/bin/activate && ZDOTDIR="${PWD}/tests" cram ${CRAM_OPTS} --shell=zsh ${TESTS}