Skip to content

Instantly share code, notes, and snippets.

@SergioEric
Last active December 6, 2020 02:31
Show Gist options
  • Save SergioEric/82d842e4a53f63c347420694ef99c072 to your computer and use it in GitHub Desktop.
Save SergioEric/82d842e4a53f63c347420694ef99c072 to your computer and use it in GitHub Desktop.
genhtml for windows
# we need to know the jgenhtml.jar path
# in this case it's static as we know where is located
# we can handle by running:
# echo `pwd`/jgenhtml-1.5.jar -> /c/Portables/jgenhtml/jgenhtml-1.5.jar
# and then copy a paste after the `java jar`
java -jar /c/Portables/jgenhtml/jgenhtml-1.5.jar $1 -o coverage/
# the optimal command should look like:
# java -jar ./jgenhtml-1.5.jar $1 -o $2
# get the jgenhtml jar -> https://search.maven.org/search?q=jgenhtml
# repo ->https://github.com/ricksbrown/jgenhtml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment