forked from nodejs/node
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
54 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -89,3 +89,6 @@ test.tap | |
# Xcode workspaces and project folders | ||
*.xcodeproj | ||
*.xcworkspace | ||
/coverage | ||
/lib-cov | ||
node.gyp.orig |
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,14 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
cd $(dirname $0)/../.. | ||
|
||
if grep -q "lib-cov/internal/bootstrap_node.js" node.gyp; then | ||
echo "node.gyp already updated...skipping" | ||
exit 0 | ||
fi | ||
|
||
sed -i ".orig" "s/'lib\//'lib-cov\//" node.gyp | ||
|
||
echo "successfully updated 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
cd $(dirname $0)/../.. | ||
|
||
make test CORE_COVERAGE=1 || echo "Test suite failed with coverage." | ||
|
||
echo "Generating coverage reports. This may take a bit." | ||
|
||
istanbul report |