jbang
jbang copied to clipboard
Add bootstrappable jars
Saw https://mill-build.org/blog/5-executable-jars.html and wondered if jbang export shouldn't have option to Exec jar this way using Java but also one using jbang to run and fetch deps using jbang.
addon for this is to have JBang-Deps: in metainf/manifest which we could download deps.
Took a look at this again and although it's a neat trick, the fact that on Windows you'd need to rename the file to end with ".bat" defeats the "easy of use" IMO.
@quintesse mind you we already have a linux/mac only header line - that line won't work on windows either without you running in a linux/mac like terminal...and here this trick works without .bat rename afaik?
thus I wouldn't say that should make us not support it.