Wednesday, April 8, 2009

Makefile for Python testing

This version supports Emacs's awesome Flymake syntax checker:

RECENT_PY := $(shell ls -1t *.py | awk '!/flymake/ {print; exit}')

all test test-fast:
./$(RECENT_PY)

No comments:

Post a Comment