mirror of
https://github.com/correl/elm-mdl.git
synced 2024-12-26 19:16:49 +00:00
27 lines
578 B
Makefile
27 lines
578 B
Makefile
PAGES=../elm-mdl-gh-pages
|
|
|
|
comp:
|
|
elm-make examples/Component.elm --warn --output elm.js
|
|
|
|
demo:
|
|
elm-make examples/Demo.elm --warn --output elm.js
|
|
|
|
wip-pages :
|
|
elm-make examples/Demo.elm --output $(PAGES)/wip.js
|
|
(cd $(PAGES); git commit -am "Update."; git push origin gh-pages)
|
|
|
|
pages :
|
|
elm-make examples/Demo.elm --output $(PAGES)/elm.js
|
|
(cd $(PAGES); git commit -am "Update."; git push origin gh-pages)
|
|
|
|
cleanish :
|
|
rm -f elm.js index.html
|
|
|
|
clean :
|
|
rm -rf elm-stuff/build-artifacts
|
|
|
|
distclean : clean
|
|
rm -rf elm-stuff
|
|
|
|
|
|
.PHONY : pages elm.js clean cleanish distclean
|