This repository has been archived on 2026-11-08. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
carl/scripts/verify-browser.sh
james.maes 1b334d1c03 feat: build Carl family agent and financial workflows
Implement the standalone Carl application, native administration, family API, financial workflows, protected reports, public fictional fixtures and consistent monetary presentation. Fresh full verification passes 419 tests; running package payloads match. Record the owner-confirmed CI/CD and GitOps direction for the next implementation.
2026-10-01 14:25:52 -05:00

17 lines
857 B
Bash

#!/usr/bin/env bash
#
# Copyright (C) 2026 KofTwentyTwo
#
set -euo pipefail
root="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")/.." && pwd -P)"
report="$root/target/browser-evidence"
mkdir -p "$report/fixture-classes"
maven=(mvn -B -ntp -f "$root/pom.xml")
if [[ -n "${MAVEN_REPO:-}" ]]; then maven+=("-Dmaven.repo.local=$MAVEN_REPO"); fi
if [[ -n "${MAVEN_SETTINGS:-}" ]]; then maven+=(--settings "$MAVEN_SETTINGS"); fi
"${maven[@]}" dependency:build-classpath -Dmdep.includeScope=test "-Dmdep.outputFile=$report/test-classpath.txt" >"$report/classpath.log" 2>&1
classpath="$root/target/agent/app.jar:$root/target/agent/lib/*:$(cat "$report/test-classpath.txt")"
javac -proc:none -cp "$classpath" -d "$report/fixture-classes" "$root"/scripts/e2e/*.java
node "$root/scripts/e2e/browser.cjs" "$root/target/agent" "$report" "$report/fixture-classes:$classpath"