added a comment - - edited
I've asked the community to help with moving this forward as my time to do so is limited.
The scripts in this ticket have been applied and substantially updated in this branch: https://github.com/clojure/brew-install/tree/windows-port
There is a room in Clojurians Slack under #clj-on-windows if you would like to chat about it.
You can build (on a *nix system, which is where we CI) by running script/package.sh. This should generate a zip file at target/clojure-tools-<version>.zip. That zip contains a win-install.ps1 script, and other files - the executable uber jar file, the scripts, example deps.edn file, install-level deps.edn file, etc.
At this point, I haven’t worked on this in about 8 months, so I don’t recall how well that install works, or how well the scripts work. It would be good to test all of that on Windows and see how badly broken it is. I assume there are some things to fix. If those are small, you can just tell me what to fix or feed me patches. If that becomes an obstacle, we’ll look at commit rights.
And then I think it’s worth thinking about the best installation path for people. I don’t know if it’s a chocolatey package, or an executable zip, or whatever. I haven’t developed on Windows for 15 years, so I’m not in touch with current best practices. If there are options, let’s make a table somewhere and evaluate.
Keeping all this stuff in the brew-install repo (I know, name is bad) and part of the main build is advantageous because I can then build and release all the versions at the same time, which seems preferable unless there is some reason it can’t work, so I’d like to push that as far as possible.