Files
compiler-explorer/etc/scripts/docenizers/docenizer-llvm.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
268 B
Bash
Executable File

#/usr/bin/bash
LANGREF_PATH=$(pwd)/vendor/LangRef.html
[ -f "$LANGREF_PATH" ] || curl https://llvm.org/docs/LangRef.html -o "$LANGREF_PATH"
npx node --no-warnings=ExperimentalWarning --import=tsx docenizer-llvm.ts > ../../../lib/asm-docs/generated/asm-docs-llvm.ts