Last active
April 23, 2019 05:07
-
-
Save choonkeat/ca2c9650f859fce461401af364328bad to your computer and use it in GitHub Desktop.
Elm TDD Makefile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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