This repository has been archived by the owner on Jun 9, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rs-conf.js
54 lines (52 loc) · 1.74 KB
/
rs-conf.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
(function () {
'use strict';
var
baseDir = "./src",
distBaseDir = "./build",
layoutDir = "./build/html";
module.exports = {
path: {
// App
baseDir: baseDir,
cssDir: baseDir + "/css/*.css",
cssDirDest: baseDir + "/css",
scssDir: baseDir + "/scss/**/*.scss",
scssDirDest: baseDir + "/scss",
scssСonnect: baseDir + "/scss/style.scss",
jsDir: baseDir + "/js/*.js",
htmlDir: baseDir + "/*.html",
fontsDir: baseDir + "/fonts/*",
imgDir: distBaseDir + "/img/**/*",
imgDestDir: baseDir + "/img/",
iconDir: distBaseDir + "/img/",
bowerDir: baseDir + "/bower",
extraFiles: [baseDir + "/*.*", "!" + baseDir + "/*.html", "!" + baseDir + "/robots.txt"],
allAppFiles: baseDir + "/**/*",
jadeLocation: baseDir + "/markups/**/*.jade",
jadeCompiled: baseDir + "/markups/_pages/*.jade",
jadeDestination: baseDir,
jadeMain: baseDir + "/markups/main.jade",
compassConfig: "config.rb",
// Dist
distDir: distBaseDir,
distCssDir: distBaseDir + "/css/",
distJsDir: distBaseDir + "/js/",
distFontsDir: distBaseDir + "/fonts/",
distPlayerFontsDir: distBaseDir + "/css/fonts/",
distImgDir: distBaseDir + "/img/",
distImgPlayerDir: distBaseDir + "/css/img/",
distDelDir: [distBaseDir + "/**", "!" + distBaseDir, "!" + distBaseDir + "/img", "!" + distBaseDir + "/img/**/*"],
allDistFiles: distBaseDir + "/**/*",
layoutDir: layoutDir,
layoutDelDir: [layoutDir + "/**", "!" + layoutDir],
},
conn: {
host: "host",
user: "user",
password: "password",
folder: "domains/site-name/public_html/",
src: [distBaseDir + "/**/*"],
base: distBaseDir
}
};
})();