Skip to content

Commit

Permalink
WA开发环境:修正 gulp dist 路径错误
Browse files Browse the repository at this point in the history
  • Loading branch information
amio committed Mar 10, 2014
1 parent 237f9a3 commit 1025371
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,9 @@ function distribution(tar) {
beta: '[email protected]:/usr/local/httpd/htdocs/beta/html/'
};
var rsyncParams = ' -avz -e ssh --delete --exclude=.git* --exclude=*.scss --exclude=node_modules';
var command = 'rsync ' + BUILD_ROOT + '/ ' + targets[tar] + rsyncParams;

sh('rsync ' + BUILD_ROOT + '/ ' + targets[tar].beta + rsyncParams);
sh(command);
}

gulp.task('dist', function () {
Expand Down

0 comments on commit 1025371

Please sign in to comment.