mirror of
https://github.com/correl/elm-mdl.git
synced 2024-11-27 03:00:07 +00:00
Re-organised travis testing
This commit is contained in:
parent
c3dbdc637d
commit
cca7cb7696
2 changed files with 13 additions and 9 deletions
|
@ -3,7 +3,5 @@ install:
|
|||
- npm install -g elm
|
||||
- elm-package install -y
|
||||
script:
|
||||
- elm-make --yes examples/Component.elm
|
||||
- elm-make --yes examples/Component-TEA.elm
|
||||
- cd demo && elm-make --yes Demo.elm
|
||||
- make test
|
||||
|
||||
|
|
18
Makefile
18
Makefile
|
@ -1,14 +1,20 @@
|
|||
ELM=elm-make --yes
|
||||
PAGES=../elm-mdl-gh-pages
|
||||
|
||||
comp:
|
||||
elm-make examples/Component.elm --warn --output elm.js
|
||||
|
||||
demo:
|
||||
(cd demo; elm-make Demo.elm --warn --output ../elm.js)
|
||||
(cd demo; $(ELM) Demo.elm --warn --output ../elm.js)
|
||||
|
||||
comp:
|
||||
$(ELM) examples/Component.elm --warn --output elm.js
|
||||
|
||||
comp-tea:
|
||||
$(ELM) examples/Component.elm --warn --output elm.js
|
||||
|
||||
docs:
|
||||
elm-make --docs=docs.json
|
||||
$(ELM) --docs=docs.json
|
||||
|
||||
test: docs comp comp-tea docs
|
||||
|
||||
wip-pages :
|
||||
(cd demo; elm-make Demo.elm --output ../$(PAGES)/wip.js)
|
||||
(cd $(PAGES); git commit -am "Update."; git push origin gh-pages)
|
||||
|
@ -27,4 +33,4 @@ distclean : clean
|
|||
rm -rf elm-stuff
|
||||
|
||||
|
||||
.PHONY : pages elm.js clean cleanish distclean demo docs
|
||||
.PHONY : pages elm.js clean cleanish distclean demo docs test
|
||||
|
|
Loading…
Reference in a new issue