1

Sublime3 has scriptable build systems. I'm trying to make a custom one which uses putty & ssh to get to a remote linux box and compile my code there. I would be running sublime in windows and using Sublime SFTP to keep my code up to date on both machines.

I'm also entirely open to a better way to do this.

4

1 回答 1

2

我有这个工作。

使用 Plink(您可以从 putty 网站获得)并在 shell_cmd 参数中使用它:

"shell_cmd": "plink.exe <remote server> -l <username> -pw <password> \"cd <your project location> && make\""

我现在在我的 Linux 机器上工作,所以这可能不是确切的命令 - 如果你在挣扎,请留下评论,我会得到确切的语法

于 2013-09-14T14:33:58.857 回答