Skip to content

Commit

Permalink
Add environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
kgryte committed Jul 1, 2021
1 parent 8656fa9 commit 30da7c1
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,22 @@ else
NODE_ENV_WORKSHOPS ?= workshop
endif

# Define command-line flags when invoking the Node executable:
ifdef NODE_FLAGS
NODE_FLAGS_BENCHMARK := $(NODE_FLAGS)
NODE_FLAGS_EXAMPLES := $(NODE_FLAGS)
NODE_FLAGS_REPL := $(NODE_FLAGS)
NODE_FLAGS_TEST := $(NODE_FLAGS)
NODE_FLAGS_WORKSHOPS := $(NODE_FLAGS)
else
NODE_FLAGS ?=
NODE_FLAGS_BENCHMARK ?=
NODE_FLAGS_EXAMPLES ?=
NODE_FLAGS_REPL ?=
NODE_FLAGS_TEST ?=
NODE_FLAGS_WORKSHOPS ?=
endif


# DEPENDENCIES #

Expand Down

0 comments on commit 30da7c1

Please sign in to comment.