Skip to content

Commit

Permalink
build: Add build target for tools/doc tests
Browse files Browse the repository at this point in the history
Addresses #5955. Add a build target called `make test-doc` as suggested in the
issue.
  • Loading branch information
iankronquist committed Apr 4, 2016
1 parent 2040025 commit f240d02
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ test: | cctest # Depends on 'all'.
$(PYTHON) tools/test.py --mode=release message parallel sequential -J
$(MAKE) jslint
$(MAKE) cpplint
$(MAKE) test-doc

test-parallel: all
$(PYTHON) tools/test.py --mode=release parallel -J
Expand Down Expand Up @@ -253,6 +254,10 @@ apiassets = $(subst api_assets,api/assets,$(addprefix out/,$(wildcard doc/api_as

doc: $(apidoc_dirs) $(apiassets) $(apidocs) tools/doc/ $(NODE_EXE)

test-doc:
$(NODE) ./tools/doc/tests/test_html.js
$(NODE) ./tools/doc/tests/test_json.js

$(apidoc_dirs):
mkdir -p $@

Expand Down

0 comments on commit f240d02

Please sign in to comment.