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
|
2012-08-18 10:59:15 +00:00
|
|
|
cd tests && javac org/jnius/BasicsTest.java
|
2012-09-30 20:39:38 +00:00
|
|
|
cd tests && javac org/jnius/MultipleMethods.java
|
2012-10-11 23:10:30 +00:00
|
|
|
cd tests && javac org/jnius/SimpleEnum.java
|
|
|
|
cd tests && javac org/jnius/InterfaceWithPublicEnum.java
|
2012-10-14 21:00:19 +00:00
|
|
|
cd tests && javac org/jnius/ClassArgument.java
|
2012-08-15 14:31:22 +00:00
|
|
|
cd tests && env PYTHONPATH=..:$(PYTHONPATH) nosetests -v
|
2012-12-31 04:15:09 +00:00
|
|
|
|
|
|
|
testimpl: build_ext
|
|
|
|
javac jnius/NativeInvocationHandler.java
|
|
|
|
python -c 'import jnius.jnius; jnius.jnius.test()'
|