mirror of https://github.com/tc39/test262.git
Use .. for git diffs in the npm scripts
This will allow the script to fetch only changed files from the working branch/PR
This commit is contained in:
parent
7a21a1bd5e
commit
cc83d1d3de
|
@ -19,7 +19,7 @@
|
|||
"scripts": {
|
||||
"ci": "./tools/scripts/ci_test.sh",
|
||||
"test": "test262-harness",
|
||||
"diff": "git diff --diff-filter ACMR --name-only master -- test/",
|
||||
"diff": "git diff --diff-filter ACMR --name-only master.. -- test/",
|
||||
"test:diff": "npm run test:diff:v8 && npm run test:diff:spidermonkey && npm run test:diff:chakra && npm run test:diff:javascriptcore",
|
||||
"test:diff:v8": "test262-harness -t 8 --hostType=d8 --hostPath=v8 $(npm run diff)",
|
||||
"test:diff:spidermonkey": "test262-harness -t 8 --hostType=jsshell --hostPath=spidermonkey $(npm run diff)",
|
||||
|
|
Loading…
Reference in New Issue