jbang
jbang copied to clipboard
allow remote file argument for compiler directives
in https://github.com/tjake/Jlama/pull/54#pullrequestreview-2309627261 there is a usecase to be able to specify filename to compiler directives.
i.e. -XX:CompilerDirectivesFile=%{https://raw.githubusercontent.com/tjake/Jlama/main/inlinerules.json}% but seems like we only do remote file arguments for arguments to script and explicitly javaagents argument - and only for the run/jar command; not the build.
Here we would need to do it for compiler flags.
@quintesse wdyt - should we just add handlefileargument to all the things or only do this explicit one flag as done with agents?
Not sure to be honest 😅