#!/usr/bin/env bash
set -euo pipefail
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
php "${ROOT}/bin/architecture.php" "${ROOT}/fixture" "${ROOT}/policy.json"
php "${ROOT}/bin/composition.php" "${ROOT}/fixture" "${ROOT}/policy.json"
node --test "${ROOT}"/tests/*.test.mjs
