root / drupal7 / sites / all / themes / bootstrap / Gruntfile.js @ ec2b0e7b
1 |
var path = require('path'); |
---|---|
2 |
|
3 |
module.exports = function (grunt) { |
4 |
// Record grunt task execution times. Must be first.
|
5 |
require('time-grunt')(grunt);
|
6 |
|
7 |
// Register the "default" task.
|
8 |
grunt.registerTask('default', ['compile']); |
9 |
|
10 |
// Register the "install" task.
|
11 |
grunt.registerTask('install', 'Installs or re-installs this grunt project. Read more in: docs/project/grunt.md.', ['githooks', 'sync', 'clean-vendor-dirs']); |
12 |
|
13 |
// Load custom tasks.
|
14 |
grunt.task.loadTasks('grunt');
|
15 |
|
16 |
// Load npm installed 'grunt-*' tasks and configurations.
|
17 |
require('load-grunt-config')(grunt, {
|
18 |
configPath: path.join(process.cwd(), 'grunt', 'config') |
19 |
}); |
20 |
}; |