2015-09-19 18:29:39 +00:00
|
|
|
// AdminLTE Gruntfile
|
2015-11-04 18:51:10 +00:00
|
|
|
|
2015-02-01 21:25:09 +00:00
|
|
|
module.exports = function (grunt) {
|
2015-08-04 16:21:03 +00:00
|
|
|
|
2015-07-25 19:05:02 +00:00
|
|
|
'use strict';
|
2016-06-23 14:49:39 +00:00
|
|
|
// Load all grunt tasks
|
|
|
|
var configs = require('load-grunt-config')(grunt,{
|
|
|
|
configPath: __dirname + '/grunt-tasks',
|
|
|
|
data:{
|
|
|
|
pkg: grunt.file.readJSON("package.json")
|
2015-02-01 21:25:09 +00:00
|
|
|
}
|
|
|
|
});
|
2015-04-15 23:07:57 +00:00
|
|
|
|
2016-06-23 14:49:39 +00:00
|
|
|
grunt.initConfig(configs);
|
2015-08-22 17:22:37 +00:00
|
|
|
|
|
|
|
// Linting task
|
|
|
|
grunt.registerTask('lint', ['jshint', 'csslint', 'bootlint']);
|
2015-04-15 23:07:57 +00:00
|
|
|
|
|
|
|
// The default task (running "grunt" in console) is "watch"
|
2015-02-01 21:25:09 +00:00
|
|
|
grunt.registerTask('default', ['watch']);
|
2015-08-04 16:21:03 +00:00
|
|
|
};
|