-
Notifications
You must be signed in to change notification settings - Fork 29.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: add cjs_module_lexer_version base64_version
build: add cjs_module_lexer_version base64_version
- Loading branch information
Showing
7 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#define BASE64_VERSION "0.5.0" // NOLINT(build/header_guard) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#define CJS_MODULE_LEXER_VERSION "1.2.2" // NOLINT(build/header_guard) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/sh | ||
|
||
# Shell script to update version file of the deps in the source tree. | ||
# This script could be used to update the version file for deps doesn't have update scripts | ||
|
||
|
||
# update cjs_module_lexer_version.h | ||
{ | ||
ROOT="$PWD/" | ||
[ -z "$NODE" ] && NODE="$ROOT/out/Release/node" | ||
[ -x "$NODE" ] || NODE=$(command -v node) | ||
|
||
# cjs-module-lexer | ||
cd deps/cjs-module-lexer || exit | ||
# get cjs-module-lexer version | ||
CJS_MODULE_LEXER_VERSION=$("$NODE" -p "require('./package.json').version") | ||
# update this version information in src/cjs_module_lexer_version.h | ||
echo "#define CJS_MODULE_LEXER_VERSION \"$CJS_MODULE_LEXER_VERSION\" // NOLINT(build/header_guard)" > "$ROOT/src/cjs_module_lexer_version.h" | ||
} |