Skip to content

Commit

Permalink
vala: bring binding up to spec 0.9.1 rev 4 and update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
WasabiFan committed Nov 28, 2014
1 parent dd066cf commit 03063dd
Show file tree
Hide file tree
Showing 3 changed files with 645 additions and 284 deletions.
7 changes: 5 additions & 2 deletions vala/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,12 @@ lib:
$(VALAC) --library=ev3dev-lib -H ./bin/ev3dev-lib.h ./ev3dev-lib.vala -X -fPIC -X -shared --vapi=./bin/ev3dev-lib.vapi --pkg gio-2.0 --pkg glib-2.0 -X -lm -o ./bin/ev3dev-lib.so

tests:
$(VALAC) "./bin/ev3dev-lib.vapi" ./ev3dev-test.vala -X ./bin/ev3dev-lib.so -X -Ibin/. -o ./bin/ev3dev-test
$(VALAC) "./bin/ev3dev-lib.vapi" ./ev3dev-test.vala -X ./bin/ev3dev-lib.so -X -Ibin/. -o ./bin/ev3dev-test --pkg gio-2.0 --pkg glib-2.0

all: lib tests


clean:
rm -rf ./bin

run:
$(exec)
Loading

0 comments on commit 03063dd

Please sign in to comment.