mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-11-24 17:02:51 +03:00
add check for documentation integrity
This commit is contained in:
parent
db8d151ddd
commit
dc41d51a1e
5
Makefile
5
Makefile
@ -18,6 +18,9 @@ format: node_modules
|
|||||||
clean:
|
clean:
|
||||||
rm -rf node_modules styleguide-app/elm.js $(shell find . -type d -name 'elm-stuff')
|
rm -rf node_modules styleguide-app/elm.js $(shell find . -type d -name 'elm-stuff')
|
||||||
|
|
||||||
|
documentation.json: node_modules
|
||||||
|
elm-make --docs $@
|
||||||
|
|
||||||
styleguide-app/elm.js: styleguide-app/elm-stuff $(shell find src styleguide-app -type f -name '*.elm')
|
styleguide-app/elm.js: styleguide-app/elm-stuff $(shell find src styleguide-app -type f -name '*.elm')
|
||||||
cd styleguide-app; elm-make Main.elm --output=$(@F)
|
cd styleguide-app; elm-make Main.elm --output=$(@F)
|
||||||
|
|
||||||
@ -43,4 +46,4 @@ elm-stuff: elm-package.json node_modules
|
|||||||
setup: node_modules elm-stuff tests/elm-stuff styleguide-app/elm-stuff
|
setup: node_modules elm-stuff tests/elm-stuff styleguide-app/elm-stuff
|
||||||
|
|
||||||
.PHONY: ci
|
.PHONY: ci
|
||||||
ci: test format diff styleguide-app/elm.js
|
ci: test format documentation.json diff styleguide-app/elm.js
|
||||||
|
Loading…
Reference in New Issue
Block a user