Skip to content

Commit

Permalink
chore: fix task name in build
Browse files Browse the repository at this point in the history
  • Loading branch information
nknapp committed Dec 3, 2019
1 parent e97685e commit 8901c28
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -264,10 +264,13 @@ module.exports = function(grunt) {
this.registerTask('amd', ['babel:amd', 'requirejs']);

grunt.registerTask('bench', ['metrics']);
grunt.registerTask(
'sauce',
process.env.SAUCE_USERNAME ? ['tests', 'connect', 'saucelabs-mocha'] : []
);

if (process.env.SAUCE_USERNAME) {
grunt.registerTask('sauce', ['concat:tests', 'connect', 'saucelabs-mocha']);
} else {
grunt.registerTask('sauce', []);
}

// Requires secret properties (saucelabs-credentials etc.) from .travis.yaml
grunt.registerTask('extensive-tests-and-publish-to-aws', [
'default',
Expand Down

0 comments on commit 8901c28

Please sign in to comment.