/coderetreat-elm

Initial setup for a CodeRetreat with Elm

Primary LanguageElmMIT LicenseMIT

Code Retreat with Elm

Write your tests in Tests.elm.

Implementation can go straight in there, or create and import files as necessary...

Get it working on your machine

  1. Clone this repository

  2. Install Elm, elm-format and elm-test

npm install

So you have elm, elm-format and elm-test all "locally" instead of globally.

  1. Run tests
npm test

Running tests with IntelliJ

  1. Install the Elm Plugin (and restart when prompted)

  2. Configure the Elm Plugin to find the elm, elm-format and elm-test binaries by going to Preferences > Languages and Frameworks > Elm and clicking Autodiscover for elm, elm-format and elm-test.

  3. Try opening tests/Tests.elm and running them via IntelliJ. Click on Attach elm.json when prompted and select this project's elm.json.

GL HF!