如何在 WebStorm 中使用外部工具创建新配置

How to create a new configuration using External tools in WebStorm

我正在创建一个多租户客户端移动 (Cordova) 应用程序。我想在部署时将适当的客户端文件从文件夹复制到项目中。

我正在使用 WebStorm IDE 进行开发。 Project 有一个名为 branding 的文件夹,其中包含文件夹中的多个客户端特定文件。使用 WebStorm,我使用外部工具创建了一个新配置。

为了在部署时复制文件,我使用了命令xcopy $FileParentDir$branding\abc\*.* $FileParentDir$www\branding /S /Y

它说 cannot run program... CreateProcess error=2, The system cannot find the file specified

请使用“Parameters”字段指定 xcopy 选项 - 将“xcopy”保留为“Program”并将“$FileParentDir$\branding\abc\*.* $FileParentDir$\www\branding /S /Y”移动到“[=10” =]' 字段