-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add back
bin/node-gyp-bin/node-gyp
files
This was an unintended breaking change as part of #6554. The `node-gyp` bin files are not used by the CLI directly but they are relied on by other tooling. This change is only intended to land on the v9 release line. This partially reverts commit 3a7378d.
- Loading branch information
1 parent
e6cce28
commit 565b678
Showing
3 changed files
with
15 additions
and
3 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,6 @@ | ||
#!/usr/bin/env sh | ||
if [ "x$npm_config_node_gyp" = "x" ]; then | ||
node "`dirname "$0"`/../../node_modules/node-gyp/bin/node-gyp.js" "$@" | ||
else | ||
"$npm_config_node_gyp" "$@" | ||
fi |
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,5 @@ | ||
if not defined npm_config_node_gyp ( | ||
node "%~dp0\..\..\node_modules\node-gyp\bin\node-gyp.js" %* | ||
) else ( | ||
node "%npm_config_node_gyp%" %* | ||
) |
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