Skip to content

Commit

Permalink
Merge pull request #46 from timvandermeij/cleanup
Browse files Browse the repository at this point in the history
Remove the `test-files` directory and use `npm ci` instead of `npm install`
  • Loading branch information
calixteman authored Sep 3, 2024
2 parents 58242c8 + 0e6449e commit 5f24d5c
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 27 deletions.
4 changes: 2 additions & 2 deletions on_cmd_browsertest.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ require('shelljs/global');

var fail = false;

exec('npm install', {async:true}, function() {
exec('npm ci', {async:true}, function() {

silent(true);

Expand Down Expand Up @@ -101,4 +101,4 @@ silent(true);
}); // exec test
})(); // runTesting

}); // npm install
}); // npm ci
2 changes: 1 addition & 1 deletion on_cmd_integrationtest.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ require('shelljs/global');

var fail = false;

exec('npm install', {async:false});
exec('npm ci', {async:false});

silent(true);

Expand Down
4 changes: 2 additions & 2 deletions on_cmd_makeref.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
var botio = require(process.env['BOTIO_MODULE']);
require('shelljs/global');

exec('npm install', {async:true}, function() {
exec('npm ci', {async:true}, function() {
silent(true);

//
Expand Down Expand Up @@ -61,4 +61,4 @@ exec('npm install', {async:true}, function() {
mkdir('-p', __dirname+'/pdf-cache');
cp('./test/pdfs/*.pdf', __dirname+'/pdf-cache');
}); // exec makeref
}); // npm install
}); // npm ci
2 changes: 1 addition & 1 deletion on_cmd_preview.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var botio = require(process.env['BOTIO_MODULE']);
require('shelljs/global');
exec('npm install');
exec('npm ci');

echo();
echo('>> Making web site');
Expand Down
4 changes: 2 additions & 2 deletions on_cmd_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ require('shelljs/global');

var fail = false;

exec('npm install', {async:true}, function() {
exec('npm ci', {async:true}, function() {

silent(true);

Expand Down Expand Up @@ -115,4 +115,4 @@ silent(true);
}); // exec test
})(); // runTesting

}); // npm install
}); // npm ci
2 changes: 1 addition & 1 deletion on_cmd_unittest.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ require('shelljs/global');

var fail = false;

exec('npm install', {async:false});
exec('npm ci', {async:false});

silent(true);

Expand Down
4 changes: 2 additions & 2 deletions on_cmd_xfatest.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ require('shelljs/global');

var fail = false;

exec('npm install', {async:true}, function() {
exec('npm ci', {async:true}, function() {

silent(true);

Expand Down Expand Up @@ -115,4 +115,4 @@ silent(true);
}); // exec test
})(); // runTesting

}); // npm install
}); // npm ci
6 changes: 0 additions & 6 deletions test-files/browser_manifest.json

This file was deleted.

10 changes: 0 additions & 10 deletions test-files/browser_manifest.json-with-chrome

This file was deleted.

0 comments on commit 5f24d5c

Please sign in to comment.