Skip to content

Commit

Permalink
Remove SKIP_BABEL = true since that's now the default in the PDF.js…
Browse files Browse the repository at this point in the history
… repository

See mozilla/pdf.js#11241
  • Loading branch information
Snuffleupagus committed Oct 15, 2019
1 parent 9e6414d commit af2b528
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 9 deletions.
2 changes: 0 additions & 2 deletions on_cmd_fonttest.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ cp('-f', __dirname+'/test-files/browser_manifest.json', './test/resources/browse
echo();
echo('>> Font Tests');

process.env['SKIP_BABEL'] = 'true'; // Disable Babel translation.

exec('gulp fonttest', {silent:false, async:true}, function(error, output) {
var successMatch = output.match(/All font tests passed/g);

Expand Down
2 changes: 0 additions & 2 deletions on_cmd_makeref.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ exec('gulp lint', {silent:false, async:true}, function(error, output) {
echo();
echo('>> Making references');

process.env['SKIP_BABEL'] = 'true'; // Disable Babel translation.

// Using {async} to avoid unnecessary CPU usage
exec('gulp botmakeref', {silent:false, async:true}, function(error, output) {
var successMatch = output.match(/All regression tests passed/g);
Expand Down
3 changes: 2 additions & 1 deletion on_cmd_preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ mv('-f', 'build/gh-pages/*', botio.public_dir);

botio.message('#### Published');
botio.message();
botio.message('+ Viewer: '+botio.public_url+'/web/viewer.html');
botio.message('+ Viewer: ' + botio.public_url + '/web/viewer.html');
botio.message('+ Viewer (ES5): ' + botio.public_url + '/es5/web/viewer.html');
2 changes: 0 additions & 2 deletions on_cmd_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ silent(true);
echo();
echo('>> Running tests');

process.env['SKIP_BABEL'] = 'true'; // Disable Babel translation.

// Using {async} to avoid unnecessary CPU usage
exec('gulp bottest', {silent:false, async:true}, function(error, output) {
var unitSuccessMatch = output.match(/All unit tests passed/g);
Expand Down
2 changes: 0 additions & 2 deletions on_cmd_unittest.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ cp('-f', __dirname+'/test-files/browser_manifest.json', './test/resources/browse
echo();
echo('>> Unit Tests');

process.env['SKIP_BABEL'] = 'true'; // Disable Babel translation.

exec('gulp unittest', {silent:false, async:true}, function(error, output) {
var successMatch = output.match(/All unit tests passed/g);

Expand Down

0 comments on commit af2b528

Please sign in to comment.