Skip to content

Commit d5ee226

Browse files
author
avinb
committed
added logger with gzip/tar
1 parent a7d55a6 commit d5ee226

File tree

13 files changed

+10225
-0
lines changed

13 files changed

+10225
-0
lines changed

gulp/gulp4_logger/Assets/Sass/c.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
a.CoolLink { color: blue; &:hover { text-decoration: underline; } &:visited { color: green; } }
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
a.CoolLink { color: blue; &:hover { text-decoration: underline; } &:visited { color: green; } }
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
a.CoolLink { color: blue; &:hover { text-decoration: underline; } &:visited { color: green; } }

gulp/gulp4_logger/gulpfile.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
var gulp = require('gulp'),
2+
sass = require('gulp-sass'),
3+
logger = require('gulp-logger');
4+
gulp.task('css:sass', function () {
5+
gulp.src('./Assets/Sass/**/*.scss')
6+
.pipe(logger({ before: 'Going to process Sass files...',
7+
after: 'Sass files were processed...',
8+
beforeEach: 'Processing... ',
9+
afterEach: ' ...Done' }))
10+
.pipe(sass())
11+
.pipe(gulp.dest('./wwwroot/css'));
12+
});
13+
14+
gulp.task('default', ['css:sass']);

gulp/gulp4_logger/package.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"name": "gulp4_logger",
3+
"version": "1.0.0",
4+
"description": "",
5+
"main": "index.js",
6+
"scripts": {
7+
"test": "echo \"Error: no test specified\" && exit 1"
8+
},
9+
"author": "",
10+
"license": "ISC",
11+
"dependencies": {
12+
"gulp": "^3.9.1",
13+
"gulp-logger": "0.0.2",
14+
"gulp-sass": "^2.3.2"
15+
}
16+
}

gulp/gulp4_logger/wwwroot/css/c.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
a.CoolLink {
2+
color: blue; }
3+
a.CoolLink:hover {
4+
text-decoration: underline; }
5+
a.CoolLink:visited {
6+
color: green; }
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
a.CoolLink {
2+
color: blue; }
3+
a.CoolLink:hover {
4+
text-decoration: underline; }
5+
a.CoolLink:visited {
6+
color: green; }
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
a.CoolLink {
2+
color: blue; }
3+
a.CoolLink:hover {
4+
text-decoration: underline; }
5+
a.CoolLink:visited {
6+
color: green; }

0 commit comments

Comments
 (0)