summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJoyee Cheung <joyeec9h3@gmail.com>2017-10-15 08:57:10 +0800
committerJoyee Cheung <joyeec9h3@gmail.com>2017-10-18 20:24:22 +0800
commitdf5dc2da39f8cd043e51ebdf4f81ee243ba8bb45 (patch)
tree06e6241fedcc94344786a072e094d0929f1664f6 /Makefile
parenta5262f1a3b89abe2eca20fcc498d7d57612ad037 (diff)
downloadandroid-node-v8-df5dc2da39f8cd043e51ebdf4f81ee243ba8bb45.tar.gz
android-node-v8-df5dc2da39f8cd043e51ebdf4f81ee243ba8bb45.tar.bz2
android-node-v8-df5dc2da39f8cd043e51ebdf4f81ee243ba8bb45.zip
test: test make doc and verify toc
PR-URL: https://github.com/nodejs/node/pull/16208 Fixes: https://github.com/nodejs/build/issues/887 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index d324cb7514..d92024faf0 100644
--- a/Makefile
+++ b/Makefile
@@ -200,6 +200,7 @@ else
test: all
$(MAKE) build-addons
$(MAKE) build-addons-napi
+ $(MAKE) doc
$(MAKE) cctest
$(PYTHON) tools/test.py --mode=release -J \
$(CI_ASYNC_HOOKS) \
@@ -379,7 +380,7 @@ test-ci-js: | clear-stalled
fi
test-ci: LOGLEVEL := info
-test-ci: | clear-stalled build-addons build-addons-napi
+test-ci: | clear-stalled build-addons build-addons-napi doc
out/Release/cctest --gtest_output=tap:cctest.tap
$(PYTHON) tools/test.py $(PARALLEL_ARGS) -p tap --logfile test.tap \
--mode=release --flaky-tests=$(FLAKY_TESTS) \
@@ -515,7 +516,7 @@ doc: $(NODE_EXE) doc-only
$(apidoc_dirs):
mkdir -p $@
-out/doc/api/assets/%: doc/api_assets/% out/doc/api/assets/
+out/doc/api/assets/%: doc/api_assets/% out/doc/api/assets
cp $< $@
out/doc/%: doc/%