Split executable from library
1 unresolved thread
1 unresolved thread
This splits the implementation from the main file. I.e. the hpc
executable is now only a small wrapper around the library which has been added in the cabal file.
This refactor is required to implement a testsuite for the implementation which can depend on the library.
Merge request reports
Activity
requested review from @agustinmista and @Tritlo
I agree. The problem is that the current implementation uses the
Plugin
type defined insrc/HpcFlags.hs
so that the parsing code for the command line arguments and the help texts for the binary are spread across all files. This makes it more difficult to split the code into library and executable parts. So we certainly shouldn't upload this current version of the library to Hackage.
Please register or sign in to reply