Files
compiler-explorer/etc/scripts/docenizers/docenizer-java.sh
T
Jeremy Rifkin f801481582 Tsify the java docenizer (#4710)
<!-- THIS COMMENT IS INVISIBLE IN THE FINAL PR, BUT FEEL FREE TO REMOVE
IT
Thanks for taking the time to improve CE. We really appreciate it.
Before opening the PR, please make sure that the tests & linter pass
their checks,
  by running `make check`.
In the best case scenario, you are also adding tests to back up your
changes,
  but don't sweat it if you don't. We can discuss them at a later date.
Feel free to append your name to the CONTRIBUTORS.md file
Thanks again, we really appreciate this!
-->
2023-02-10 14:10:53 -05:00

8 lines
245 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 ts-node-esm docenizer-java.ts > ../../../lib/asm-docs/generated/asm-docs-java.ts