2016-03-15 16:57:39 +00:00
|
|
|
PAGES=../elm-mdl-gh-pages
|
|
|
|
|
2016-03-17 12:31:43 +00:00
|
|
|
elm.js:
|
2016-03-21 05:02:39 +00:00
|
|
|
elm-make examples/Demo.elm --warn --output elm.js
|
2016-03-17 12:31:43 +00:00
|
|
|
|
2016-03-15 16:57:39 +00:00
|
|
|
pages :
|
|
|
|
elm-make examples/Demo.elm --output $(PAGES)/elm.js
|
|
|
|
(cd $(PAGES); git commit -am "Update."; git push origin gh-pages)
|
|
|
|
|
2016-03-17 12:31:43 +00:00
|
|
|
clean :
|
|
|
|
rm -f elm.js index.html
|
|
|
|
|
2016-03-19 22:47:21 +00:00
|
|
|
veryclean :
|
|
|
|
rm -rf elm-stuff/build-artifacts
|
|
|
|
|
2016-03-17 12:31:43 +00:00
|
|
|
distclean : clean
|
|
|
|
rm -rf elm-stuff
|
|
|
|
|
|
|
|
|
2016-03-19 22:47:21 +00:00
|
|
|
.PHONY : pages elm.js clean veryclean distclean
|