1 | ;
|
2 |
|
3 | var gulp = require('gulp');
|
4 | var child_process = require('child_process');
|
5 |
|
6 | gulp.task('update-karma-testingbot', () => {
|
7 | let cmd = [
|
8 | 'wget https://testingbot.com/downloads/testingbot-tunnel.zip -O testingbot-tunnel.zip',
|
9 | 'unzip -o testingbot-tunnel.zip',
|
10 | 'cp -f ./testingbot-tunnel/testingbot-tunnel.jar ./node_modules/testingbot-tunnel-launcher/'
|
11 | ];
|
12 | return child_process.exec(cmd.join("&&")).toString('utf8').trim();
|
13 | });
|