Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: gulpfile.js

Issue 29361647: Issue 4607 - Default content styles (Closed)
Patch Set: Addressed comments (round 1) Created Nov. 8, 2016, 3:47 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « README.md ('k') | html/content.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /*! 1 /*!
2 * This file is part of universal-design-language 2 * This file is part of universal-design-language
3 * Copyright (C) 2016 Eyeo GmbH 3 * Copyright (C) 2016 Eyeo GmbH
4 * 4 *
5 * universal-design-language is free software: you can redistribute it and/or 5 * universal-design-language is free software: you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License as published by 6 * modify it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or 7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version. 8 * (at your option) any later version.
9 * 9 *
10 * universal-design-language is distributed in the hope that it will be useful, 10 * universal-design-language is distributed in the hope that it will be useful,
(...skipping 22 matching lines...) Expand all
33 { 33 {
34 gulp.src("html/*.html") 34 gulp.src("html/*.html")
35 .pipe(connect.reload()); 35 .pipe(connect.reload());
36 }); 36 });
37 37
38 gulp.task("scss", function () 38 gulp.task("scss", function ()
39 { 39 {
40 return gulp.src("./scss/main.scss") 40 return gulp.src("./scss/main.scss")
41 .pipe(sourcemaps.init()) 41 .pipe(sourcemaps.init())
42 .pipe(sass().on("error", sass.logError)) 42 .pipe(sass().on("error", sass.logError))
43 .pipe(sourcemaps.write()) 43 .pipe(sourcemaps.write("./"))
juliandoucette 2016/11/08 15:52:01 Changed source maps plugin to write to external fi
44 .pipe(gulp.dest("./css/")) 44 .pipe(gulp.dest("./css/"))
45 .pipe(connect.reload()); 45 .pipe(connect.reload());
46 }); 46 });
47 47
48 gulp.task("watch", function () 48 gulp.task("watch", function ()
49 { 49 {
50 gulp.watch("html/*.html", ["html"]); 50 gulp.watch("html/*.html", ["html"]);
51 gulp.watch("scss/*.scss", ["scss"]); 51 gulp.watch("scss/*.scss", ["scss"]);
52 }); 52 });
53 53
54 gulp.task("default", ["scss", "connect", "watch"]); 54 gulp.task("default", ["scss", "connect", "watch"]);
OLDNEW
« no previous file with comments | « README.md ('k') | html/content.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld