Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej MaƂecki <me@mmalecki.com>2012-12-21 05:56:47 +0400
committerNathan Rajlich <nathan@tootallnate.net>2012-12-22 00:44:33 +0400
commitf84bf5b6b174af0639813c9f3167f3593f2c5eb4 (patch)
tree55b5c2185d043296fdcf031d595a09670d350951 /node.gyp
parent70eb227e80f10cf51288a5a3018e858480099df4 (diff)
build: allow to specify custom tags
When building custom `node` versions (e.g., floating features/fixes from different versions) it's often useful to specify a custom tag which easily identifies build when invoking `node -v`. Introduce a way to specify this tag in `node_version.h` file or by running `./configure --tag="<tag>"`. Insert it right after the patch version (and before `-pre`, if build is not a release). Closes #4452.
Diffstat (limited to 'node.gyp')
-rw-r--r--node.gyp1
1 files changed, 1 insertions, 0 deletions
diff --git a/node.gyp b/node.gyp
index 80354643567..5b82114c727 100644
--- a/node.gyp
+++ b/node.gyp
@@ -142,6 +142,7 @@
'NODE_WANT_INTERNALS=1',
'ARCH="<(target_arch)"',
'PLATFORM="<(OS)"',
+ 'NODE_TAG="<(node_tag)"',
],
'conditions': [