Skip to content

Commit 01c5385

Browse files
committed
Copy bin scripts to build directory
1 parent 1cb2b6b commit 01c5385

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

gulpfile.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ gulp.task('build:docs', ['clean'], () => {
2626
.pipe(gulp.dest('build'));
2727
});
2828

29+
gulp.task('build:bin', ['clean'], () => {
30+
return gulp.src('bin/*').pipe(gulp.dest('build/bin'));
31+
});
32+
2933
gulp.task('build:package', ['clean'], () => {
3034
const editor = require('gulp-json-editor');
3135

@@ -40,7 +44,7 @@ gulp.task('build:package', ['clean'], () => {
4044
.pipe(gulp.dest('build'));
4145
});
4246

43-
gulp.task('build', ['build:lib', 'build:docs', 'build:package']);
47+
gulp.task('build', ['build:lib', 'build:docs', 'build:bin', 'build:package']);
4448

4549
gulp.task('standalone', ['build:lib'], (done) => {
4650
const builder = require('browserify')({

0 commit comments

Comments
 (0)