我有 gruntfile 如下:
concat: {
options: {
banner: '<%= banner %>',
stripBanners: true
},
one: {
src: ['src/**/*.js'],
dest: 'dist/<%= pkg.name %>_ac.js'
},
two: {
src: ['/types/**/*.js'],
dest: 'dist/<%= pkg.name %>_lib.js'
},
all: {
}
},..... and so on
现在,如果我像这样注册任务: grunt.registerTask('basic', ['concat:all']);
我希望一个和两个都运行。我该如何添加这个选项
all: {
// what i need to add here to include one and two both?
}