forked from mrx1203/WebDriverAgent
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgulpfile.js
More file actions
23 lines (17 loc) · 666 Bytes
/
Copy pathgulpfile.js
File metadata and controls
23 lines (17 loc) · 666 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
'use strict';
const gulp = require('gulp');
const boilerplate = require('appium-gulp-plugins').boilerplate.use(gulp);
const { fs } = require('appium-support');
boilerplate({
build: 'appium-webdriveragent',
projectRoot: __dirname,
});
gulp.task('clean:carthage', function cleanCarthage () {
return fs.rimraf('Carthage');
});
gulp.task('install:dependencies', gulp.series('transpile', 'clean:carthage', function installDependencies () {
// we cannot require `fetchDependencies` at the top level because it has not
// necessarily been transpiled at that point
const { checkForDependencies } = require('./build');
return checkForDependencies();
}));