pyjnius/Makefile

21 lines
591 B
Makefile
Raw Normal View History

2012-08-14 01:42:43 +00:00
.PHONY: build_ext tests
build_ext:
python setup.py build_ext --inplace -f
2012-08-20 09:17:14 +00:00
html:
$(MAKE) -C docs html
2012-08-14 01:42:43 +00:00
tests: build_ext
cd tests && javac org/jnius/HelloWorld.java
cd tests && javac org/jnius/BasicsTest.java
cd tests && javac org/jnius/MultipleMethods.java
cd tests && javac org/jnius/SimpleEnum.java
cd tests && javac org/jnius/InterfaceWithPublicEnum.java
cd tests && javac org/jnius/ClassArgument.java
cd tests && env PYTHONPATH=..:$(PYTHONPATH) nosetests-2.7 -v
testimpl: build_ext
javac jnius/NativeInvocationHandler.java
python -c 'import jnius.jnius; jnius.jnius.test()'