-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v1.0.1
- Loading branch information
Showing
106 changed files
with
30,046 additions
and
30,396 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
'use strict'; | ||
|
||
var gulp = require('gulp'); | ||
var del = require('del'); | ||
var rename = require("gulp-rename"); | ||
var runSequence = require('run-sequence'); | ||
var sass = require('gulp-sass'); | ||
|
||
var paths = gulp.paths; | ||
var vendors = './scss/vendors/'; | ||
|
||
gulp.task('compile-vendors:clean', function () { | ||
return del([ | ||
'./vendors/css/**' | ||
]); | ||
}); | ||
|
||
gulp.task('compile-vendors:sass', function () { | ||
return gulp.src('./scss/vendors/**/*.scss') | ||
.pipe(sass().on('error', sass.logError)) | ||
.pipe(rename({dirname: ''})) | ||
.pipe(gulp.dest('./vendors/css/')) | ||
.pipe(sass({outputStyle: 'compressed'}).on('error', sass.logError)) | ||
.pipe(rename({suffix: '.min'})) | ||
.pipe(rename({dirname: ''})) | ||
.pipe(gulp.dest('./vendors/css/')); | ||
}); | ||
|
||
gulp.task('compile-vendors', function(callback) { | ||
runSequence('compile-vendors:clean', 'compile-vendors:sass', callback); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.