@alexmiller I'm taking a look through the current scripts to get a grips on the starting point. One thing I'm noticing is that a lot of the bash and powershell logic is argument parsing and then delegating to various Clojure commands. Would it ease the maintenance (and be acceptable) if much of that logic moved into Clojure code in tools.deps.alpha? It seems tricker to ensure the scripts behave the same with so much behavior in platform-specific scripts.
As for installation path, my initial thought would be to package as a PowerShell module and potentially put on PowerShell Gallery. However, as you note in the issue it's best to assemble the options and list out the pros/cons, so just an initial thought at this point.
Generally re tda, no - things are split where they are pretty intentionally to avoid starting a jvm
The power shell scripts require references to the jar location so I’m not sure how easy that is to do with the gallery (which I don’t know anything about)
The number one priority in my mind is to make the installer script we have work
I think probably chocolatey is next best easiest target although something self installing would be good too
Re: avoiding a JVM start, got it
On Gallery, the main reason I mention it is that PowerShell comes with the PowerShell Gallery already registered and install would be as simple as "Install-Module Clojure". However, packaging as a PowerShell module could be distributed via self-install, chocolatey, or PSGallery.
As for the existing install script, I saw you mention that its been a while since you worked on it so you can't recall the exact state. Is the assumption that the clojure.ps1 script is relatively solid and its more of a packaging/install issue at this point? I did manage to get a REPL started with the clojure.ps1 script. I can hand run whatever comes to mind as I'm playing around, but are there any specific tests that you have that should pass before this is considered ready?
I have not tested it at all. it is likely that stuff is broken. someone needs to exhaustively test that each of the features works
so if you clj -h, there's a bunch of options
Sure, will review and let you know if I have further questions