/+junk/gjs-vapi

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/%2Bjunk/gjs-vapi

« back to all changes in this revision

Viewing changes to run_tests.sh

  • Committer: Gustav Hartvigsson
  • Date: 2021-09-13 16:00:35 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20210913160035-1pyul5jso24apzdb
More code.
* Wrote a simple test.
* fixed the VAPI file so it actually works.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/env bash
 
2
 
 
3
# compile the gresource file.
 
4
glib-compile-resources gjs.vapi.test.gresource.xml
 
5
 
 
6
# compile the vala file
 
7
# valac --pkg=gjs-1.0 --pkg=gio-2.0 --pkg=posix --vapidir=. test.vala > err.log 2>&1
 
8
valac --pkg=gjs-1.0 --pkg=gio-2.0 --pkg=posix --vapidir=. test.vala
 
9
 
 
10
./test