move some root-level build-related files into build directory

This commit is contained in:
Adam Shaw
2014-05-30 22:59:28 -07:00
parent 7a714d1575
commit 5edc3382f7
4 changed files with 9 additions and 6 deletions
+3 -4
View File
@@ -309,14 +309,13 @@ module.exports = function(grunt) {
]);
// configs located elsewhere
config.jshint = require('./jshint.conf');
config.jscs = require('./jscs.conf');
config.jshint = require('./build/jshint.conf');
config.jscs = require('./build/jscs.conf');
// finally, give grunt the config object...
grunt.initConfig(config);
// load everything in the ./tasks/ directory
grunt.loadTasks('tasks');
grunt.loadTasks('./build/tasks/');
};
View File
+6 -2
View File
@@ -37,7 +37,8 @@ module.exports = {
},
src: [
'dist/*.js',
'!**/lang-all.js' // exclude
'!**/*.min.js', // exclude
'!**/lang-all.js' //
]
},
@@ -45,6 +46,9 @@ module.exports = {
tests: 'tests/automated/*.js',
misc: '*.js' // config files in root
misc: [
'*.js', // ex: Gruntfile.js
'build/*.js' // ex: this file
]
};