elm-mdl/Makefile

31 lines
689 B
Makefile
Raw Normal View History

2016-04-12 23:23:50 +02:00
PAGES=../elm-mdl-gh-pages
2016-03-15 17:57:39 +01:00
2016-04-06 15:28:37 +02: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 13:31:43 +01:00
2016-04-12 23:03:13 +02:00
docs:
elm-make --docs=docs.json
2016-03-21 12:24:00 +01:00
wip-pages :
2016-04-12 23:23:50 +02:00
(cd demo; elm-make Demo.elm --output ../$(PAGES)/wip.js)
2016-03-21 12:24:00 +01:00
(cd $(PAGES); git commit -am "Update."; git push origin gh-pages)
2016-03-15 17:57:39 +01:00
pages :
2016-04-12 23:23:50 +02:00
(cd demo; elm-make Demo.elm --output ../$(PAGES)/elm.js)
2016-03-15 17:57:39 +01:00
(cd $(PAGES); git commit -am "Update."; git push origin gh-pages)
2016-03-30 09:19:18 +02:00
cleanish :
2016-04-12 19:06:07 +02:00
rm -f elm.js index.html docs.json
2016-03-17 13:31:43 +01:00
2016-04-12 19:06:07 +02:00
clean : cleanish
rm -rf elm-stuff/build-artifacts demo/elm-stuff/build-artifacts
2016-03-19 23:47:21 +01:00
2016-03-17 13:31:43 +01:00
distclean : clean
rm -rf elm-stuff
2016-04-12 19:06:07 +02:00
.PHONY : pages elm.js clean cleanish distclean demo docs