Skip to content

Commit 4e47f95

Browse files
committed
Fix CSS output compare error on Travis
1 parent 6347834 commit 4e47f95

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

gulpfile.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,16 +82,14 @@ gulp.task('build-style-less', () => (
8282
.pipe(gulp.dest('./.css-compare/less'))
8383
));
8484

85-
gulp.task('compare-css-output', gulp.series(gulp.parallel('build-style', 'build-style-less', () => (
85+
gulp.task('compare-css-output', gulp.series(gulp.parallel('build-style', 'build-style-less'), () => (
8686
gulp.src('./gulpfile.js')
8787
.pipe(exec('cmp .css-compare/less/react-checkbox-tree.css .css-compare/scss/react-checkbox-tree.css'))
8888
.pipe(exec.reporter())
89-
))));
89+
)));
9090

9191
gulp.task('build', gulp.series('build-script-web', 'compare-css-output'));
9292

93-
gulp.task('build-no-css-compare', gulp.series('build-script-web'));
94-
9593
function buildExamplesScript(mode = 'development') {
9694
return gulp.src(['./examples/src/index.js'])
9795
.pipe(webpackStream({ ...testWebpackConfig, mode }, webpack))

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"main": "lib/index.js",
2020
"browser": "lib/index.browser.js",
2121
"scripts": {
22-
"build": "gulp build-no-css-compare",
22+
"build": "gulp build",
2323
"examples": "gulp examples",
2424
"gh-deploy": "gulp build-gh-pages && bash ./gh-deploy.sh",
2525
"prepublishOnly": "gulp build",

0 commit comments

Comments
 (0)