Skip to content

Commit d736897

Browse files
committed
Add command for determining the project name
1 parent 3ba2224 commit d736897

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tools/make/common.mk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,9 @@ RSCRIPT ?= Rscript
206206
# Define the command for getting the current project version:
207207
CURRENT_PROJECT_VERSION ?= $(NODE) -e "console.log( require( '$(ROOT_DIR)/package.json' ).version )"
208208

209+
# Define the command for getting the project name:
210+
PROJECT_NAME ?= $(NODE) -e "console.log( require( '$(ROOT_DIR)/package.json' ).name )"
211+
209212

210213
# TOOLS #
211214

0 commit comments

Comments
 (0)