pyjnius/Makefile

10 lines
242 B
Makefile

.PHONY: build_ext tests
build_ext:
python setup.py build_ext --inplace -f
tests: build_ext
cd tests && javac org/jnius/HelloWorld.java
cd tests && javac org/jnius/BasicsTest.java
cd tests && env PYTHONPATH=..:$(PYTHONPATH) nosetests -v