Build: run jshint and jscs on release scripts

This commit is contained in:
Timmy Willison 2014-05-23 12:45:19 -04:00
parent 97cbab51e2
commit b80700c75f
2 changed files with 3 additions and 4 deletions

View File

@ -82,8 +82,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
@ -100,6 +99,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: {

View 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();