Files
elm-0.19-workshop/part10/README.md
2018-02-22 17:20:25 -05:00

41 lines
527 B
Markdown

Part 10
=======
## Installation
```bash
elm-package install
```
(Answer `y` when prompted.)
## Building
```bash
elm-live Main.elm --open --output=elm.js
```
## Running Tests
Do either (or both!) of the following:
#### Running tests on the command line
```bash
elm-test
```
#### Running tests in a browser
```bash
cd tests
elm-reactor
```
Then visit [localhost:8000](http://localhost:8000) and choose `HtmlRunner.elm`.
## References
* [Html.map](http://package.elm-lang.org/packages/elm-lang/html/1.1.0/Html#map)