You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see that in autoload/elm.vim there's elm#Build accepting an input and an output file. By default is using elm-make but could be used to run another script. Or accept a pre-buld one (ie: ensure that symlinks are there, set environment variables, ...).
Just a few ideas I had right now.
EDIT:
actually, it is already using some global variables like elm_make_output_file - I think that at least in my case would make more sense to use a custom command to run an external script without modifying this plugin.
In my project I use
npm
tasks, so my make command is actuallyyarn build
which is equivalent toelm-make src/Main.elm --output dist/index.js
.From the online help, I see that there are no settings for the make command to run.
Is there a specific reason for it? Would a PR be welcome?
Thanks!
The text was updated successfully, but these errors were encountered: