Skip to content

Commit 5010afe

Browse files
Separate one server config for each build type
1 parent a174ebe commit 5010afe

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Gruntfile.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,13 @@ module.exports = function (grunt) {
5555
}
5656
},
5757
connect: {
58-
saucelabs: {
58+
'build-sauce': {
5959
options: {
6060
port: 9999,
6161
base: ['.', 'test']
6262
}
6363
},
64-
build: {
64+
'build-qunit': {
6565
options: {
6666
port: 9998,
6767
base: ['.', 'test']
@@ -178,8 +178,8 @@ module.exports = function (grunt) {
178178
}
179179
}
180180

181-
grunt.registerTask('saucelabs', ['connect:saucelabs', 'saucelabs-qunit']);
182-
grunt.registerTask('test', ['jshint', 'connect:build', 'qunit', 'nodeunit']);
181+
grunt.registerTask('saucelabs', ['connect:build-sauce', 'saucelabs-qunit']);
182+
grunt.registerTask('test', ['jshint', 'connect:build-qunit', 'qunit', 'nodeunit']);
183183

184184
grunt.registerTask('dev', ['test', 'uglify', 'compare_size']);
185185
grunt.registerTask('ci', ['test', 'saucelabs']);

0 commit comments

Comments
 (0)