Closed qwfy closed 6 years ago
Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!
Here is what to expect next, and if anyone wants to comment, keep these things in mind.
Tracking in #98 with a bunch of feature requests. We will likely do a batch of improvements for editor/tooling support that will include stuff like this. Lots of folks need this for various build system choices. In the meantime, thank you for logging your scenario! It will help with that batch of work.
I have several
elm
files in one project that hasmain
in it, whenelm-make
d, each of them will produce a html suitable for viewing in browser.When releasing the project, I need to
elm-make
each one of them, and copy some images, some fonts to a build folder and tar them together, typical stuff, this soon becomes tedious and need to be automated.Currently I'm using shake to do it, like this:
However, shake needs to know the dependencies of each elm file, currently there is no way to know it (so for now I just depend on all elm files).
Will this feature be added to
elm-make
? so that something likeelm-make --print-dependencies-only Main.elm
will print:Better, will it return structured data (like yaml or json or some other format that can be easily consumed by a program, you know, escaping and stuff) other than plain lines?
p.s. there seems no idiomatic way to build an elm project? p.s.s. please don't suggest me to just use a bash script