clj-commons / virgil

Recompile Java code without restarting the REPL
312 stars 21 forks source link

Add Boot support #23

Closed alexander-yakushev closed 6 years ago

alexander-yakushev commented 6 years ago

I've been using mostly unmodified Virgil code with some wrapping for quite a while, now it's time to contribute back. This pull request adds a Boot task that runs Virgil from the REPL. Both manual and automatic recompilation is supported.

Besides adding Boot, I also refactored the code that prints diagnostics. Before, Virgil threw an exception on the very first error and printed it; now it lets the compilation finish and then prints the accumulated errors.

ztellman commented 6 years ago

Thanks!

alexander-yakushev commented 6 years ago

Thank you for the prompt reaction! I double checked with 0.1.8, everything seems fine.