madsflensted / elm-brunch

Brunch plugin to compile Elm code
MIT License
74 stars 31 forks source link

README needs more info to get started for a brunch n00b #2

Closed ivanoats closed 8 years ago

ivanoats commented 8 years ago

Could you post a complete brunch config instead of a snippet please?

I'm not sure which directory elm files should go in, and what the rest of the brunch file should look like if my app is completely in Elm.

Thanks!

madsflensted commented 8 years ago

Hi,

You can find an example brunch config file here: https://github.com/madsflensted/dots?files=1

Or you could look at this example by @urfolomeus https://github.com/urfolomeus/seat_saver?files=1

Let me know if that answers your question On Sep 18, 2015 06:41, "Ivan Storck" notifications@github.com wrote:

Could you post a complete brunch config instead of a snippet please?

I'm not sure which directory elm files should go in, and what the rest of the brunch file should look like if my app is completely in Elm.

Thanks!

— Reply to this email directly or view it on GitHub https://github.com/madsflensted/elm-brunch/issues/2.

ivanoats commented 8 years ago

Hi, thanks for the examples. It's still not really enough info to get started easily.

I have a simple brunch config in this repo, but it's not compiling the Elm files. Could you take a look please?

I'm willing to help contribute to the README once I understand how this plugin works better.

ivanoats commented 8 years ago

Nevermind, I needed to add my src/ directory to a paths.watched in the brunch config, then it found the elm files.

I think that maybe the readme could contain a very simple brunch app skeleton example, would you like me to take a stab at it?

madsflensted commented 8 years ago

Glad you found the problem. Contributions are welcome! On Sep 24, 2015 22:04, "Ivan Storck" notifications@github.com wrote:

Nevermind, I needed to add my src/ directory to a paths.watched in the brunch config, then it found the elm files.

I think that maybe the readme could contain a very simple brunch app skeleton example, would you like me to take a stab at it?

— Reply to this email directly or view it on GitHub https://github.com/madsflensted/elm-brunch/issues/2#issuecomment-143034548 .