diff options
author | Robert Carr <racarr@ender> | 2009-01-13 06:47:42 -0500 |
---|---|---|
committer | Robert Carr <racarr@ender> | 2009-01-13 06:47:42 -0500 |
commit | 71820cb18ffb779c39e15e758515c6bcad8ac455 (patch) | |
tree | d5dce8b2f1fcbef99903e0f00086dcdf418b3fdf | |
parent | 27a71bbaac3902093a9c1d1fecfadf670c3f2fb8 (diff) | |
download | libayatana-indicator-71820cb18ffb779c39e15e758515c6bcad8ac455.tar.gz libayatana-indicator-71820cb18ffb779c39e15e758515c6bcad8ac455.tar.bz2 libayatana-indicator-71820cb18ffb779c39e15e758515c6bcad8ac455.zip |
Add script to build GObject-introspection GIR, and boilerplate
JavaScript test.
-rw-r--r-- | libindicate/gir.sh | 2 | ||||
-rwxr-xr-x | libindicate/tests/test.js | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/libindicate/gir.sh b/libindicate/gir.sh new file mode 100644 index 0000000..e6cdd63 --- /dev/null +++ b/libindicate/gir.sh @@ -0,0 +1,2 @@ +g-ir-scanner -v --namespace Indicate --nsversion=0.1 --add-include-path=. --include=GObject-2.0 --include=GLib-2.0 --library=indicate --pkg indicate --output Indicate-0.1.gir indicator.h server.h +g-ir-compiler --includedir=. Indicate-0.1.gir -o Indicate-0.1.typelib diff --git a/libindicate/tests/test.js b/libindicate/tests/test.js new file mode 100755 index 0000000..45b0d05 --- /dev/null +++ b/libindicate/tests/test.js @@ -0,0 +1,6 @@ +#!/usr/local/bin/seed +Seed.import_namespace("Indicate"); + +var indicator = new Indicate.Indicator(); + +indicator.show(); |