Skip to content

Commit a566c66

Browse files
committed
build: read scaffolding key from .stdlibrc file
1 parent f9b5671 commit a566c66

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tools/make/common.mk

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -614,4 +614,7 @@ DEPS_CPPCHECK_BUILD_OUT ?= $(DEPS_BUILD_DIR)/cppcheck_$(deps_cppcheck_version_sl
614614
DEPS_CPPCHECK_PLATFORM := $(shell command -v $(NODE) >/dev/null 2>&1 && $(NODE_HOST_PLATFORM))
615615

616616
# API key for the stdlib scaffolding service:
617-
SCAFFOLD_API_KEY ?= $$SCAFFOLD_API_KEY
617+
ifneq ($(wildcard .stdlibrc),)
618+
include .stdlibrc
619+
export SCAFFOLD_API_KEY
620+
endif

0 commit comments

Comments
 (0)