Skip to content

Instantly share code, notes, and snippets.

@choonkeat
Last active Apr 23, 2019
Embed
What would you like to do?
Elm TDD Makefile
test: elm.json package.json elm-test
elm-test --watch
elm-test:
which elm-test || npm install elm-test --save-dev
grep elm-explorations/test elm.json || elm-test init
package.json:
echo '{}' > package.json
elm.json:
which elm || (echo "First, install elm https://guide.elm-lang.org/install.html"; exit 1)
elm init
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment