1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-15 20:35:23 +03:00

Fixed yarn production install.

This commit is contained in:
mikeller 2019-05-09 01:39:21 +12:00 committed by Michael Keller
parent bf9c4fece7
commit 0069fd917f
3 changed files with 24 additions and 44 deletions

View file

@ -19,7 +19,7 @@ const targz = require('targz');
const gulp = require('gulp');
const concat = require('gulp-concat');
const install = require("gulp-install");
const yarn = require("gulp-yarn");
const rename = require('gulp-rename');
const os = require('os');
const git = require('gulp-git');
@ -227,10 +227,7 @@ function dist_src() {
.pipe(gulp.src('package.json', { passthrougth: true }))
.pipe(gulp.src('changelog.html', { passthrougth: true }))
.pipe(gulp.dest(DIST_DIR))
.pipe(install({
commands: {
'package.json': 'yarn'
},
.pipe(yarn({
production: true,
ignoreScripts: true
}));