Skip to content
This repository was archived by the owner on Feb 2, 2021. It is now read-only.

Commit 7a50b1c

Browse files
Move node-args to scripts dir
1 parent 6112394 commit 7a50b1c

File tree

6 files changed

+17
-4
lines changed

6 files changed

+17
-4
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,4 @@ coverage/**/*
3535
xunit.xml
3636
test-reports.xml
3737
!test-scripts/**
38+
!scripts/**

.npmignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,7 @@ test-reports.xml
66
*.tgz
77
.vscode
88
.npmignore
9-
9+
test/**/*
10+
test-scripts/**/*
11+
lib/common/test/**/*
12+
lib/common/test-scripts/**/*

Gruntfile.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,16 @@ module.exports = function(grunt) {
115115
},
116116

117117
clean: {
118-
src: ["test/**/*.js*", "**/*.js*", "!**/*.json", "!Gruntfile.js", "!node_modules/**/*", "!bin/common-lib.js", "!vendor/*.js", "*.tgz", "!test-scripts/**/*"]
118+
src: ["test/**/*.js*",
119+
"**/*.js*",
120+
"!**/*.json",
121+
"!Gruntfile.js",
122+
"!node_modules/**/*",
123+
"!bin/common-lib.js",
124+
"!vendor/*.js",
125+
"*.tgz",
126+
"!test-scripts/**/*",
127+
"!scripts/**/*"]
119128
}
120129
});
121130

File renamed without changes.

test-scripts/istanbul.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const pathToMocha = path.join(pathToNodeModules, "mocha", "bin", "_mocha");
88

99
const istanbulArgs = [ pathToIstanbul, "cover", pathToMocha ];
1010

11-
const nodeArgs = require("./node-args").getNodeArgs();
11+
const nodeArgs = require("../scripts/node-args").getNodeArgs();
1212

1313
const args = nodeArgs.concat(istanbulArgs);
1414

test-scripts/mocha.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const childProcess = require("child_process");
44
const path = require("path");
55
const pathToMocha = path.join(__dirname, "..", "node_modules", "mocha", "bin", "_mocha");
66

7-
const nodeArgs = require("./node-args").getNodeArgs();
7+
const nodeArgs = require("../scripts/node-args").getNodeArgs();
88

99
const args = nodeArgs.concat(pathToMocha);
1010

0 commit comments

Comments
 (0)