From 68d3c0bbd3c04902f68357df83d0f4f9f50eaf9d Mon Sep 17 00:00:00 2001 From: teahubxyz Date: Mon, 19 Oct 2026 02:51:03 +0000 Subject: [PATCH] havre: /open, openvenice built into the site for testing tools/open.sh clones nikshepsvn/openvenice (MIT) at a pinned commit, builds it with base /open/, and puts the build in open/ with its license. tools/build.sh runs it, so the refresh workflow publishes it like the rest. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01BQqGFv54JJTw7p3rgGjP7C --- ventures/havre/tools/open.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 ventures/havre/tools/open.sh diff --git a/ventures/havre/tools/open.sh b/ventures/havre/tools/open.sh new file mode 100644 index 0000000..74efd73 --- /dev/null +++ b/ventures/havre/tools/open.sh @@ -0,0 +1,18 @@ +#!/bin/sh +# tools/open.sh: build openvenice (https://github.com/nikshepsvn/openvenice, MIT) into open/, served at /open/. +# Pinned to one commit; bump OV_REF to take a newer one. Run by tools/build.sh. Needs git, node 20+ and npm. +set -eu +cd "$(dirname "$0")/.." +OV_REF=d983874a79810edaffb85721911630af29d09d95 +src=$(mktemp -d) +git clone -q https://github.com/nikshepsvn/openvenice "$src" +git -C "$src" checkout -q "$OV_REF" +(cd "$src" && npm ci --silent --no-audit --no-fund >/dev/null && npx vite build --base=/open/ >/dev/null) +rm -rf open +cp -R "$src/dist" open +cat > open/LICENSE.txt <