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

Side by Side Diff: gulpfile.js

Issue 29529767: Issue 5573 - Add a CSS reset to website-defaults (Closed) Base URL: https://hg.adblockplus.org/website-defaults
Patch Set: Reorder selectors, move reset styles from base to reset.scss Created Sept. 1, 2017, 8:56 a.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') | scss/_base.scss » ('j') | scss/_reset.scss » ('J')
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 website-defaults 2 * This file is part of website-defaults
3 * Copyright (C) 2016-present eyeo GmbH 3 * Copyright (C) 2016-present eyeo GmbH
4 * 4 *
5 * website-defaults is free software: you can redistribute it and/or 5 * website-defaults 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 * website-defaults is distributed in the hope that it will be useful, 10 * website-defaults is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details. 13 * GNU General Public License for more details.
14 * 14 *
15 * You should have received a copy of the GNU General Public License 15 * You should have received a copy of the GNU General Public License
16 * along with website-defaults. If not, see <http://www.gnu.org/licenses/>. 16 * along with website-defaults. If not, see <http://www.gnu.org/licenses/>.
17 */ 17 */
18 18
19 const gulp = require("gulp"); 19 const gulp = require("gulp");
20 const sass = require("gulp-sass"); 20 const sass = require("gulp-sass");
21 21
22 gulp.task("scss", function () 22 gulp.task("scss", function ()
23 { 23 {
24 return gulp.src("./scss/main.scss") 24 return gulp.src("./scss/main.scss")
25 .pipe(sass().on("error", sass.logError)) 25 .pipe(sass().on("error", sass.logError))
26 .pipe(gulp.dest("./static/css/")); 26 .pipe(gulp.dest("./static/css/"));
27 }); 27 });
28 28
29 gulp.task("watch", function () 29 gulp.task("default", ["scss"]);
juliandoucette 2017/09/01 10:30:58 Merge or rebase gone wrong?
ire 2017/09/05 06:55:51 Yup, fixed.
30 {
31 gulp.watch("./scss/**/*.scss", ["scss"]);
32 });
33
34 gulp.task("default", ["scss", "watch"]);
OLDNEW
« no previous file with comments | « README.md ('k') | scss/_base.scss » ('j') | scss/_reset.scss » ('J')

Powered by Google App Engine
This is Rietveld