Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/betaflight/betaflight-configurator.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Keller <github@ike.ch>2020-11-27 15:15:42 +0300
committerMichael Keller <github@ike.ch>2020-11-27 15:32:22 +0300
commitab2e7a0e89f0eb6410ce1ddc8beae82eb9afd55e (patch)
treed3352359bfe29901e3da08722b186a9218ac9b7b /gulpfile.js
parente71affcd65c51c1468bbdded2a359d83d0befc7a (diff)
Removed deprecated option from gulpfile.
Diffstat (limited to 'gulpfile.js')
-rw-r--r--gulpfile.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/gulpfile.js b/gulpfile.js
index d4825385..cf054a31 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -52,7 +52,7 @@ let gitChangeSetId;
const nwBuilderOptions = {
version: '0.47.0',
- files: './dist/**/*',
+ files: `${DIST_DIR}**/*`,
macIcns: './src/images/bf_icon.icns',
macPlist: { 'CFBundleDisplayName': 'Betaflight Configurator'},
winIco: './src/images/bf_icon.ico',
@@ -269,7 +269,7 @@ function dist_src() {
return packageJson
.pipe(source('package.json'))
.pipe(gulp.src(distSources, { base: 'src' }))
- .pipe(gulp.src('yarn.lock', { passthrougth: true }))
+ .pipe(gulp.src('yarn.lock'))
.pipe(gulp.dest(DIST_DIR));
}
@@ -280,8 +280,8 @@ function dist_changelog() {
// This function relies on files from the dist_src function
function dist_yarn() {
- return gulp.src(['./dist/package.json', './dist/yarn.lock'])
- .pipe(gulp.dest('./dist'))
+ return gulp.src([`${DIST_DIR}package.json`, `${DIST_DIR}yarn.lock`])
+ .pipe(gulp.dest(DIST_DIR))
.pipe(yarn({
production: true,
}));