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: See comments for details. Created Nov. 27, 2016, 9:26 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
OLDNEW
(Empty)
1 /*!
2 * This file is part of website-defaults
3 * Copyright (C) 2016 Eyeo GmbH
4 *
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
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
9 *
10 * website-defaults is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
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/>.
17 */
18
19 const gulp = require("gulp");
20 const sass = require("gulp-sass");
21 const connect = require("gulp-connect");
22
23 gulp.task("connect", function()
24 {
25 connect.server({
26 root: "./test/"
saroyanm 2016/11/29 17:51:07 What is the reason of naming this as a test ?
juliandoucette 2016/11/29 20:41:21 Because "test" is more descriptive than "html". Th
juliandoucette 2016/11/30 18:26:00 Let's go with demo.
juliandoucette 2016/12/01 14:05:45 Done.
27 });
28 });
29
30 gulp.task("scss", function ()
31 {
32 return gulp.src("./scss/main.scss")
33 .pipe(sass().on("error", sass.logError))
34 .pipe(gulp.dest("./test/css/"));
35 });
36
37 gulp.task("watch", function ()
38 {
39 gulp.watch("scss/*.scss", ["scss"]);
40 });
41
42 gulp.task("default", ["scss", "connect", "watch"]);
OLDNEW

Powered by Google App Engine
This is Rietveld