elm-mdl/Makefile

31 lines
689 B
Makefile
Raw Normal View History

2016-04-12 21:23:50 +00:00
PAGES=../elm-mdl-gh-pages
2016-03-15 16:57:39 +00:00
2016-04-06 13:28:37 +00:00
comp:
elm-make examples/Component.elm --warn --output elm.js
demo:
(cd demo; elm-make Demo.elm --warn --output ../elm.js)
2016-03-17 12:31:43 +00:00
2016-04-12 21:03:13 +00:00
docs:
elm-make --docs=docs.json
2016-03-21 11:24:00 +00:00
wip-pages :
2016-04-12 21:23:50 +00:00
(cd demo; elm-make Demo.elm --output ../$(PAGES)/wip.js)
2016-03-21 11:24:00 +00:00
(cd $(PAGES); git commit -am "Update."; git push origin gh-pages)
2016-03-15 16:57:39 +00:00
pages :
2016-04-12 21:23:50 +00:00
(cd demo; elm-make Demo.elm --output ../$(PAGES)/elm.js)
2016-03-15 16:57:39 +00:00
(cd $(PAGES); git commit -am "Update."; git push origin gh-pages)
2016-03-30 07:19:18 +00:00
cleanish :
2016-04-12 17:06:07 +00:00
rm -f elm.js index.html docs.json
2016-03-17 12:31:43 +00:00
2016-04-12 17:06:07 +00:00
clean : cleanish
rm -rf elm-stuff/build-artifacts demo/elm-stuff/build-artifacts
2016-03-19 22:47:21 +00:00
2016-03-17 12:31:43 +00:00
distclean : clean
rm -rf elm-stuff
2016-04-12 17:06:07 +00:00
.PHONY : pages elm.js clean cleanish distclean demo docs