Files
compiler-explorer/etc/scripts/docenizers/docenizer-java.sh
Mats Jun Larsen d9093faf18 Replace ts-node with tsx (#7205)
Migrates tooling to TSX (as advised by nodejs) until we are on Node 22
where we can `--watch --experimental-strip-types`
2024-12-10 00:18:46 +09:00

8 lines
285 B
Bash
Executable File

#/usr/bin/bash
JVMS_PATH=$(pwd)/vendor/jvms.html
[ -f "$JVMS_PATH" ] || curl https://docs.oracle.com/javase/specs/jvms/se18/html/jvms-6.html -o "$JVMS_PATH"
npx node --no-warnings=ExperimentalWarning --import=tsx docenizer-java.ts > ../../../lib/asm-docs/generated/asm-docs-java.ts