aboutsummaryrefslogtreecommitdiff
path: root/libindicate
diff options
context:
space:
mode:
Diffstat (limited to 'libindicate')
-rw-r--r--libindicate/gir.sh2
-rwxr-xr-xlibindicate/tests/test.js6
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();