我正在使用flightplan来部署我的node.js应用程序.这是我的flightplan.js文件.
var plan = require('flightplan');
plan.target('default', {
host: {{host}},
username: {{ username }},
port: '2222',
agent: process.env.SSH_AUTH_SOCK
});
plan.local(function(local) {
local.log('Copy files to remote hosts');
var filesToCopy = local.exec('git ls-files', { silent: true });
// rsync files to all the destination's hosts
local.transfer(filesToCopy, '~/www/');
});
Run Code Online (Sandbox Code Playgroud)
当我运行飞行默认时它停止并说
'rsync'未被识别为内部或外部命令
我怎样才能获得rsync命令?我正在运行Windows 8.