Summary Files Commits Branches @commit @diff @stats
path: root / gulpfile.js
diff options
context:
space:
mode:
Commit8e16ed5b46a548e1985c6ea994169cd5e3535258 (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2016-10-04 16:55:55 +0800
Committer
 GitHub <noreply@github.com>
2016-10-04 16:55:55 +0800
Files766e9cca4276c314083f5abf9077ee3c72eb9507 /gulpfile.js
Spectre-Dark-Gruvbox-8e16ed5b46a548e1985c6ea994169cd5e3535258.tar
Spectre-Dark-Gruvbox-8e16ed5b46a548e1985c6ea994169cd5e3535258.tar.gz
Spectre-Dark-Gruvbox-8e16ed5b46a548e1985c6ea994169cd5e3535258.zip
Parenta70d0b5300071c7db37e67265ced195a66f0674b (diff)
Parent8ffe2149f8f51e97c27084b0046b697b67a445f9 (diff)
Merge pull request #106 from picturepan2/hotfix/fix-resizer-tool
Update cleanup code and fix the responsive resizer layout bug
1 files changed, 15 insertions, 0 deletions
-rw-r--r--gulpfile.js15
diff --git a/gulpfile.js b/gulpfile.js
index 23ec1f8..3f9a922 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -25,4 +25,19 @@ gulp.task('build', function() {
.pipe(gulp.dest('./dist'))
});
+gulp.task('tools', function() {
+ gulp.src('tools/**/*.less')
+ .pipe(less({
+ plugins: [autoprefix]
+ }))
+ .pipe(csscomb())
+ .pipe(cleancss())
+ .pipe(rename({
+ suffix: '.min'
+ }))
+ .pipe(gulp.dest(function(file) {
+ return file.base;
+ }))
+});
+
gulp.task('default', ['build']);