This is the repository for the Vineflower regression listener, a program that accepts push webhook events for Vineflower
and creates a diff from the decompiler output before and after. The listener contains an http server that listens for
POST requests and handles accordingly. After a validated request has been filed, the listener clones the repo, builds
the before and after jars, and runs them on a specified set of files in dlmanifest.txt
to create a diff.
./gradlew build
. You'll get two jars: the main jar in./build/libs
and the decomp utility in./src/jardecomp/build/libs
.- Put both of these jars in the same directory next to each other.
- Create a file called
dlmanifest.txt
, where each line contains a link to a jar to download. - Run the listener:
java [OPTIONS] -jar regression-listener.jar
Make sure to set all of the options required. Check Main.java for a list.