]> source.dussan.org Git - jquery.git/commitdiff
Build: run jshint and jscs on release scripts
authorTimmy Willison <timmywillisn@gmail.com>
Fri, 23 May 2014 16:45:19 +0000 (12:45 -0400)
committerTimmy Willison <timmywillisn@gmail.com>
Tue, 27 May 2014 19:17:51 +0000 (15:17 -0400)
Gruntfile.js
build/release-notes.js

index 66d2f894e44a707694e4caca82ff9139d3e1a6a1..73692cbbb76524eb913c5584d9b00693c9a4bd32 100644 (file)
@@ -81,8 +81,7 @@ module.exports = function( grunt ) {
                jshint: {
                        all: {
                                src: [
-                                       "src/**/*.js", "Gruntfile.js", "test/**/*.js", "build/tasks/*",
-                                       "build/{bower-install,release-notes,release}.js"
+                                       "src/**/*.js", "Gruntfile.js", "test/**/*.js", "build/**/*.js"
                                ],
                                options: {
                                        jshintrc: true
@@ -99,6 +98,7 @@ module.exports = function( grunt ) {
 
                        // Right know, check only test helpers
                        test: [ "test/data/testrunner.js", "test/data/testinit.js" ],
+                       release: "build/*.js",
                        tasks: "build/tasks/*.js"
                },
                testswarm: {
index 37e9f9a32be34d61d2541542b890dd988429854c..c9676f28f5da23661cdba74cd2a27225f903de77 100644 (file)
@@ -17,7 +17,7 @@ http.request({
        port: 80,
        method: "GET",
        path: "/query?status=closed&resolution=fixed&max=400&component=!web&order=component&milestone=" + version
-}, function (res) {
+}, function( res ) {
        var data = [];
 
        res.on( "data", function( chunk ) {
@@ -53,4 +53,3 @@ http.request({
 
        });
 }).end();
-