| OLD | NEW |
| 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 Loading... |
| 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("./")) |
| 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"]); |
| OLD | NEW |