Home page Forum Wiki Mail Jabber Devel NIX-FILES

AltLUG Git

Git-repositories of Altai Linux User Group

Grunt: Update testswarm task to use new config props
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Wed, 13 Jun 2012 22:28:13 +0000 (00:28 +0200)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Wed, 13 Jun 2012 22:28:13 +0000 (00:28 +0200)
grunt.js

index 3d2ba96..7a709cf 100644 (file)
--- a/grunt.js
+++ b/grunt.js
@@ -79,7 +79,7 @@ grunt.registerTask( "testswarm", function( commit, configFile ) {
        var testswarm = require( "testswarm" ),
                config = grunt.file.readJSON( configFile ).qunit;
        testswarm({
-               url: "http://swarm.jquery.org/",
+               url: config.swarmUrl,
                pollInterval: 10000,
                done: this.async()
        }, {
@@ -88,7 +88,7 @@ grunt.registerTask( "testswarm", function( commit, configFile ) {
                jobName: 'QUnit commit #<a href="https://github.com/jquery/qunit/commit/' + commit + '">' + commit.substr( 0, 10 ) + '</a>',
                runMax: config.runMax,
                "runNames[]": "QUnit",
-               "runUrls[]": "http://swarm.jquery.org/git/qunit/" + commit + "/test/index.html",
+               "runUrls[]": config.testUrl + commit + "/test/index.html",
                "browserSets[]": ["popular"]
        });
 });

Hosting is provided AltSPAHow to use Git
Please direct any questions on jabber alex.wolf@jabber.ru

Valid HTML 4.0 Transitional Valid CSS!

Designer Alexander Wolf