Showing posts with label flymake. Show all posts
Showing posts with label flymake. Show all posts

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)

Thursday, April 2, 2009

show Java problems in realtime in Emacs

after installing Flymake, create this Makefile:

all:

check-syntax:
javac -Xlint $(CHK_SOURCES)