Improve and adapt build scripts for new view app.

This commit is contained in:
Andrey Antukh 2016-06-15 20:23:39 +03:00
parent 3d72c53f02
commit c0cc1d2b81
No known key found for this signature in database
GPG key ID: 4DFEBCB8316A8B95
7 changed files with 56 additions and 12 deletions

View file

@ -69,7 +69,7 @@ gulp.task("scss:main", scssPipeline({
gulp.task("scss:view", scssPipeline({
input: paths.app + "styles/view.scss",
output: paths.output + "css/"
output: paths.output + "view/css/"
}));
gulp.task("scss", ["scss:main", "scss:view"]);
@ -107,8 +107,8 @@ gulp.task("template:main", templatePipeline({
gulp.task("template:view", templatePipeline({
input: paths.app + "view.mustache",
output: paths.output + "view/",
jspath: "/view/js/main.js",
csspath: "/view/css/main.css"
jspath: "/view/js/view.js",
csspath: "/view/css/view.css"
}));
gulp.task("template", ["template:view",