diff options
author | Sauli Tähkäpää <sauli.tahkapaa@outlook.com> | 2015-10-20 14:28:43 +0300 |
---|---|---|
committer | Sauli Tähkäpää <sauli.tahkapaa@outlook.com> | 2015-10-20 14:28:43 +0300 |
commit | 36353716586b5ad46fd5bedbd2abdceaaa3b78e5 (patch) | |
tree | bdcc3d93033df14898d476c3589d4eba939d18ec /tasks/common.js | |
parent | dfc3d914fad86afde3a343190a04d9ae559eeac2 (diff) | |
parent | 5b2e35b8351e1a911a3f9881346a591a3d03be48 (diff) | |
download | vaadin-core-36353716586b5ad46fd5bedbd2abdceaaa3b78e5.tar.gz vaadin-core-36353716586b5ad46fd5bedbd2abdceaaa3b78e5.zip |
Merge pull request #19 from vaadin/rename_components
Rename components to Elements
Diffstat (limited to 'tasks/common.js')
-rw-r--r-- | tasks/common.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tasks/common.js b/tasks/common.js index d4ba658..316d245 100644 --- a/tasks/common.js +++ b/tasks/common.js @@ -3,6 +3,7 @@ var chalk = require('chalk'); var wct = require('web-component-tester').test; var _ = require('lodash'); var gutil = require('gulp-util'); +var config = require('./config'); function cleanDone(done) { return function(error) { @@ -40,9 +41,19 @@ function test(options, done) { wct(options, cleanDone(done)); } +function ssh(user, host, command, done) { + gutil.log('SSH: ' + host + ' -> ' + command); + require('node-ssh-exec')({ + host: host, + username: user, + privateKey: config.paths.privateKey() + }, command, done); +} + module.exports = { localAddress: localAddress, test: test, + ssh: ssh, checkArguments: checkArguments, testSauce: function(suites, browsers, build, done) { |