Skip to content

Commit

Permalink
Merge pull request #1 from Hedgefog/master
Browse files Browse the repository at this point in the history
removed sdk pack task
  • Loading branch information
Hedgefog authored Jan 20, 2021
2 parents c372ab6 + ac072e4 commit a5165e5
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions builder/tasks/pack.tasks.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,15 +100,15 @@ gulp.task('pack:full', () => {
.pipe(gulp.dest(buildDir));
});

gulp.task('pack:sdk', () => {
const buildDir = resolveBundledDir('sdk');
const sdkArchiveName = resolveArchiveName('sdk');

return gulp.src([
config.sdk.dir + '/**'
])
.pipe(zip(sdkArchiveName))
.pipe(gulp.dest(buildDir));
});

gulp.task('pack', gulp.series('pack:full', 'pack:src', 'pack:sdk'));
// gulp.task('pack:sdk', () => {
// const buildDir = resolveBundledDir('sdk');
// const sdkArchiveName = resolveArchiveName('sdk');

// return gulp.src([
// config.sdk.dir + '/**'
// ])
// .pipe(zip(sdkArchiveName))
// .pipe(gulp.dest(buildDir));
// });

gulp.task('pack', gulp.series('pack:full', 'pack:src'));

0 comments on commit a5165e5

Please sign in to comment.