mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Build: run jshint and jscs on release scripts
This commit is contained in:
parent
97cbab51e2
commit
b80700c75f
@ -82,8 +82,7 @@ module.exports = function( grunt ) {
|
|||||||
jshint: {
|
jshint: {
|
||||||
all: {
|
all: {
|
||||||
src: [
|
src: [
|
||||||
"src/**/*.js", "Gruntfile.js", "test/**/*.js", "build/tasks/*",
|
"src/**/*.js", "Gruntfile.js", "test/**/*.js", "build/**/*.js"
|
||||||
"build/{bower-install,release-notes,release}.js"
|
|
||||||
],
|
],
|
||||||
options: {
|
options: {
|
||||||
jshintrc: true
|
jshintrc: true
|
||||||
@ -100,6 +99,7 @@ module.exports = function( grunt ) {
|
|||||||
|
|
||||||
// Right know, check only test helpers
|
// Right know, check only test helpers
|
||||||
test: [ "test/data/testrunner.js", "test/data/testinit.js" ],
|
test: [ "test/data/testrunner.js", "test/data/testinit.js" ],
|
||||||
|
release: "build/*.js",
|
||||||
tasks: "build/tasks/*.js"
|
tasks: "build/tasks/*.js"
|
||||||
},
|
},
|
||||||
testswarm: {
|
testswarm: {
|
||||||
|
@ -17,7 +17,7 @@ http.request({
|
|||||||
port: 80,
|
port: 80,
|
||||||
method: "GET",
|
method: "GET",
|
||||||
path: "/query?status=closed&resolution=fixed&max=400&component=!web&order=component&milestone=" + version
|
path: "/query?status=closed&resolution=fixed&max=400&component=!web&order=component&milestone=" + version
|
||||||
}, function (res) {
|
}, function( res ) {
|
||||||
var data = [];
|
var data = [];
|
||||||
|
|
||||||
res.on( "data", function( chunk ) {
|
res.on( "data", function( chunk ) {
|
||||||
@ -53,4 +53,3 @@ http.request({
|
|||||||
|
|
||||||
});
|
});
|
||||||
}).end();
|
}).end();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user