Skip to content
Snippets Groups Projects
Commit ab7a7757 authored by Cari Spruiell's avatar Cari Spruiell
Browse files

Merge commit 'refs/pull/3492/head' of github.com:magento/magento2 into...

Merge commit 'refs/pull/3492/head' of github.com:magento/magento2 into MAGETWO-50273-grunt-tasks-autoloading
parents 12efdf6b f5bccc5c
Branches
No related merge requests found
......@@ -12,16 +12,11 @@ module.exports = function (grunt) {
path = require('path'),
themes = require('./dev/tools/grunt/configs/themes'),
configDir = './dev/tools/grunt/configs',
taskDir = './dev/tools/grunt/tasks';
tasks = grunt.file.expand('./dev/tools/grunt/tasks/*');
[
taskDir + '/mage-minify',
taskDir + '/deploy',
taskDir + '/black-list-generator',
taskDir + '/clean-black-list',
taskDir + '/static',
'time-grunt'
].forEach(function (task) {
tasks = _.map(tasks, function(task){ return task.replace('.js', '') });
tasks.forEach(function (task) {
require(task)(grunt);
});
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment