forked from kivy/pyjnius
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
18 lines (15 loc) · 588 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
.PHONY: build_ext tests
build_ext:
javac jnius/src/org/jnius/NativeInvocationHandler.java
python setup.py build_ext --inplace -f -g
html:
$(MAKE) -C docs html
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 && javac org/jnius/MultipleDimensions.java
cd tests && env PYTHONPATH=..:$(PYTHONPATH) nosetests-2.7 -v