Grunt JS copy to network location

前端 未结 2 840
北恋
北恋 2021-01-04 07:57

I want to use grunt-contrib-copy (or any other grunt copying plugin) to copy files to network location.

Trying below:

    copy: {
        test: {
            


        
2条回答
  •  梦毁少年i
    2021-01-04 08:11

    to copy files from mac to windows shared directory prepend the destination with smb:

    copy: {
      test: {
        files: [
          { src: ['Scripts/*'], dest: ['smb://location/site/Scripts/'] }
        ]
      }
    }
    

    kr, Joachim

提交回复
热议问题