spmjs / grunt-cmd-transport

Transport everything into common module.
MIT License
70 stars 32 forks source link

这个配置里面的cwd src dest分别是什么意思 #83

Closed ghost closed 9 years ago

ghost commented 9 years ago

Usage Examples

Gruntfile use default options.

grunt.initConfig({
    transport: {
        target_name: {
            files: [{
                cwd: 'src',
                src: '**/*',
                dest: 'dist'
            }]
        }
    }
});

还可以有哪些参数, 比如项目自身的Gruntfile.js 里有用到 expand: true,

afc163 commented 9 years ago

http://gruntjs.com/configuring-tasks