#!/usr/bin/env bash

# compile the gresource file.
glib-compile-resources gjs.vapi.test.gresource.xml

# compile the vala file
# valac --pkg=gjs-1.0 --pkg=gio-2.0 --pkg=posix --vapidir=. test.vala > err.log 2>&1
valac --pkg=gjs-1.0\
      --pkg=gio-2.0\
      --pkg=posix\
      --vapidir=./vapi/\
      ./test/test-runner.vala

./test
