marginalia
marginalia copied to clipboard
Create separate project for standalone exe
At the moment Marg is compiled to provide a -main entry point, but I think it should act as a pure library only. We should create a whole new project that creates a command-line runnable Marg.
I'll take this.
I'll take this.
You are like a superhero or something!
Do you want to just eliminate the marginalia.main namespace, or do you want to eliminate the entire external interface (run-marginalia and such)? I'm not sure we should get rid of run-marginalia and friends, though I suppose if we move it to the new project, the lein plugin can depend on it rather than Marginalia itself so that it can get run-marginalia and avoid duplicating code. That's quite a bit more indirection than just leaving it in marginalia itself. I say we move run-marginalia and friends into their own marginalia.external namespace.
I'll get this done as soon as I've got your okay on it, @fogus.
I think run-marg can stay. The main goal of this task is to completely eliminate AOT in the main library. Maybe we should leave run-marg in place for now so that we don't break people dependent on it. We can float out the possibility for breakage later.