File tree 1 file changed +10
-2
lines changed
1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -488,7 +488,11 @@ test-all-suites: | clear-stalled test-build bench-addons-build doc-only ## Run a
488
488
489
489
CI_NATIVE_SUITES ?= addons js-native-api node-api
490
490
CI_JS_SUITES ?= default
491
- CI_DOC := doctool
491
+ ifeq ($(node_use_openssl ) , false)
492
+ CI_DOC := doctool
493
+ else
494
+ CI_DOC =
495
+ endif
492
496
493
497
.PHONY : test-ci-native
494
498
# Build and test addons without building anything else
@@ -700,7 +704,11 @@ tools/doc/node_modules: tools/doc/package.json
700
704
.PHONY : doc-only
701
705
doc-only : tools/doc/node_modules \
702
706
$(apidoc_dirs ) $(apiassets ) # # Builds the docs with the local or the global Node.js binary.
703
- @$(MAKE ) out/doc/api/all.html out/doc/api/all.json
707
+ @if [ " $( shell $( node_use_openssl) ) " != " true" ]; then \
708
+ echo " Skipping doc-only (no crypto)" ; \
709
+ else \
710
+ $(MAKE ) out/doc/api/all.html out/doc/api/all.json; \
711
+ fi
704
712
705
713
.PHONY : doc
706
714
doc : $(NODE_EXE ) doc-only
You can’t perform that action at this time.
0 commit comments