jenkins-bot has submitted this change and it was merged. Change subject: Set up npm tasks linked to grunt (for Jenkins) ......................................................................
Set up npm tasks linked to grunt (for Jenkins) Change-Id: Id4874c023d3f2ac3343cfe70e700f7d20b4748ce --- M Gruntfile.js M package.json 2 files changed, 4 insertions(+), 0 deletions(-) Approvals: Jdlrobson: Looks good to me, approved jenkins-bot: Verified diff --git a/Gruntfile.js b/Gruntfile.js index cb1b80d..000ea5b 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -70,6 +70,7 @@ grunt.registerTask( 'lint', [ 'jshint', 'jscs' ] ); // Jenkins automatically runs grunt test for us grunt.registerTask( 'test', [ 'lint', 'qunit' ] ); + grunt.registerTask( 'jenkins', [ 'test' ] ); grunt.registerTask( 'default', [ 'test' ] ); grunt.registerTask( 'build-icons', [ 'svg2png' ] ); }; diff --git a/package.json b/package.json index ed1bf35..0fe3a69 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,9 @@ "name": "MobileFrontend-dependencies", "description": "Node.js dependencies used in MobileFrontend", "version": "0.0.1", + "scripts": { + "test": "grunt jenkins" + }, "dependencies": { "grunt": "0.4.5", "grunt-phpdocumentor": "~0.4.1", -- To view, visit https://gerrit.wikimedia.org/r/174697 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Id4874c023d3f2ac3343cfe70e700f7d20b4748ce Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/MobileFrontend Gerrit-Branch: master Gerrit-Owner: Jhernandez <jhernan...@wikimedia.org> Gerrit-Reviewer: Awjrichards <aricha...@wikimedia.org> Gerrit-Reviewer: Jdlrobson <jrob...@wikimedia.org> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits