rattler-build icon indicating copy to clipboard operation
rattler-build copied to clipboard

Auto-discover interpreter based on script filename

Open wolfv opened this issue 8 months ago • 0 comments

We can set the interpreter manually like:

script:
  interpreter: python
  file: foobar.py

However, it would be nice if we can auto-discover the interpreter based on the filename, so that we can write:

script: foobar.py

And it will automatically choose the python interpreter. Same for Perl, R, Bash, cmd.exe, ...

wolfv avatar May 02 '25 16:05 wolfv