Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
agracio committed Dec 29, 2017
1 parent 1b1f85d commit d700489
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 38 deletions.
1 change: 1 addition & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@ after_test:
$url = "https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)"
$file = '.\test-results.xml'
(New-Object 'System.Net.WebClient').UploadFile($url, (Resolve-Path '.\test-results.xml'))
Push-AppveyorArtifact (Resolve-Path '.\test-results.xml')
build: off
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@
"license": "Apache-2.0",
"dependencies": {
"edge-cs": "1.2.1",
"nan": "^2.7.0"
"nan": "^2.8.0"
},
"devDependencies": {
"junit-report-merger": "0.0.5",
"mocha": "3.5.3",
"mocha-junit-reporter": "^1.14.0"
"mocha": "4.1.0",
"mocha-junit-reporter": "^1.15.0"
},
"homepage": "https://github.com/agracio/edge-js",
"repository": {
Expand Down
4 changes: 0 additions & 4 deletions tools/coverage.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@ else {
run(process.platform === 'win32' ? 'dotnet.exe' : 'dotnet', ['restore'], function(code, signal) {
if (code === 0) {
run(process.platform === 'win32' ? 'dotnet.exe' : 'dotnet', ['build'], runOnSuccess, 'coreclr');
// spawn(process.platform === 'win32' ? 'dotnet.exe' : 'dotnet', ['build'], {
// stdio: 'inherit',
// cwd: testDir
// }).on('close', runOnSuccess);
}
});
}
Expand Down
31 changes: 0 additions & 31 deletions tools/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,45 +12,14 @@ if (!process.env.EDGE_USE_CORECLR) {
buildParameters = buildParameters.concat(['-sdk:4.5']);
}

console.log(buildParameters);

// var command = spawn(process.platform === 'win32' ? 'csc' : 'mcs', buildParameters, {
// stdio: 'inherit'
// });
//
// command.on('error', function(err) {
// console.log(err);
// });
// command.on('close', runOnSuccess);
run(process.platform === 'win32' ? 'csc' : 'mcs', buildParameters, runOnSuccess);
}

else {
// var command = spawn(process.platform === 'win32' ? 'dotnet.exe' : 'dotnet', ['restore'], {
// stdio: 'inherit',
// cwd: testDir
// });
//
// command.on('error', function(err) {
// console.log(err);
// });
//
// command.on('close', function(code, signal) {
// if (code === 0) {
// spawn(process.platform === 'win32' ? 'dotnet.exe' : 'dotnet', ['build'], {
// stdio: 'inherit',
// cwd: testDir
// }).on('close', runOnSuccess);
// }
// });

run(process.platform === 'win32' ? 'dotnet.exe' : 'dotnet', ['restore'], function(code, signal) {
if (code === 0) {
run(process.platform === 'win32' ? 'dotnet.exe' : 'dotnet', ['build'], runOnSuccess);
// spawn(process.platform === 'win32' ? 'dotnet.exe' : 'dotnet', ['build'], {
// stdio: 'inherit',
// cwd: testDir
// }).on('close', runOnSuccess);
}
});

Expand Down

0 comments on commit d700489

Please sign in to comment.