Skip to content

Commit

Permalink
Fix Android (#3708)
Browse files Browse the repository at this point in the history
  • Loading branch information
haslinghuis authored Dec 31, 2023
1 parent a51c0a6 commit 3f16b22
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,9 @@ function processPackage(done, gitRevision, isReleaseBuild) {
}

function dist_src() {
const platforms = getPlatforms();
const isAndroid = platforms.includes('android');

const distSources = [
'./src/**/*',
'!./src/**/*.js',
Expand All @@ -364,8 +367,14 @@ function dist_src() {
'./src/js/tabs/map.js',
];

return gulp.src(distSources, { base: 'src' })
.pipe(gulp.src('yarn.lock'))
const distSourcesCordova = [
'./src/**/*',
'!./src/css/dropdown-lists/LICENSE',
'!./src/support/**',
'!./src/**/*.less',
];

return gulp.src(isAndroid ? distSourcesCordova : distSources, { base: 'src' })
.pipe(gulp.dest(DIST_DIR));
}

Expand Down

0 comments on commit 3f16b22

Please sign in to comment.