From dc41d51a1e433f32397febb329e3d411715cab74 Mon Sep 17 00:00:00 2001 From: Brian Hicks Date: Thu, 17 May 2018 08:59:35 -0500 Subject: [PATCH] add check for documentation integrity --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0d5f2956..725d33c9 100644 --- a/Makefile +++ b/Makefile @@ -18,6 +18,9 @@ format: node_modules clean: 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') 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 .PHONY: ci -ci: test format diff styleguide-app/elm.js +ci: test format documentation.json diff styleguide-app/elm.js