Saturday, 15 January 2011

javascript - Grunt copy a single file -


What is the format for specifying a file copy for link copy work

  copy : {Dist: {files: [[Expand: true, cwd: '<% = yeoman.app%>', dest: '& lt;% = yeoman.dist% & gt; /scripts/jq.min.js', Src: ['component / jq / dist / jq.min.js']}]   

If my yeoman.app dir is a and yeoman.dist is b , this file

  / b / scripts / Jq / dist / jq.min.js   

I would like it to be /b/scripts/jq.min. Js

How can I do this?

EDIT: I see an issue that implements support.

Does this work?

  Copy: {dev: {files: [[Cwd: '   

No comments:

Post a Comment