forked from candreoliveira/ngMask
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gruntfile.js
30 lines (23 loc) · 857 Bytes
/
Gruntfile.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Generated on 2014-06-21 using generator-angular 0.9.0
'use strict';
// # Globbing
// for performance reasons we're only matching one level down:
// 'test/spec/{,*/}*.js'
// use this if you want to recursively match all subfolders:
// 'test/spec/**/*.js'
module.exports = function (grunt) {
var loadConfig = require('./tasks/config/loader.js');
var config = {
yeoman: require('./tasks/config/config.js'),
pkg: grunt.file.readJSON('package.json')
};
grunt.util._.extend(config, loadConfig('./tasks/vendor/'));
// Load grunt tasks automatically
require('load-grunt-tasks')(grunt);
// Time how long tasks take. Can help when optimizing build times
require('time-grunt')(grunt);
// Load tasks on folder tasks
grunt.loadTasks('tasks/custom');
// Define the configuration for all the tasks
grunt.initConfig(config);
};