For copying files to destination I am using simple gulp's src and dest
I want to specify this copy action as per key in obj:
var copy = {
first: {
dest: 'dist/index.scala.html',
src: 'app/index.scala.html'
},
second: {
dest: 'dist/setup.scala.html',
src: 'app/setup.scala.html'
}
};
I am able to create copy task and copy files as per src and dest mentioned in object But I need something like:
gulp copy:first //this will only copy from src to dest as specifided under 'first' key
gulp copy:second //this will only copy from src to dest as specifided under 'second' key
Like how we achieve in grunt.