1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00
Sonarr/gulp/paths.js

46 lines
1.3 KiB
JavaScript
Raw Normal View History

2015-07-18 20:50:16 +02:00
var phantom = require('./phantom');
var paths = {
2015-07-22 04:42:38 +02:00
src : {
root : './src/UI/',
templates : './src/UI/**/*.hbs',
html : './src/UI/*.html',
partials : './src/UI/**/*Partial.hbs',
scripts : './src/UI/**/*.js',
less : ['./src/UI/**/*.less'],
content : './src/UI/Content/',
images : './src/UI/Content/Images/**/*',
exclude : {
libs : '!./src/UI/JsLibraries/**'
}
},
dest : {
root : './_output/UI/',
content : './_output/UI/Content/'
2015-07-18 20:50:16 +02:00
}
};
if (phantom) {
2015-07-22 04:42:38 +02:00
paths = {
src : {
2015-08-04 00:41:33 +02:00
root : './UI.Phantom/',
templates : './UI.Phantom/**/*.hbs',
html : './UI.Phantom/*.html',
partials : './UI.Phantom/**/*Partial.hbs',
scripts : './UI.Phantom/**/*.js',
less : ['./UI.Phantom/**/*.less'],
content : './UI.Phantom/Content/',
images : './UI.Phantom/Content/Images/**/*',
2015-07-22 04:42:38 +02:00
exclude : {
2015-08-04 00:41:33 +02:00
libs : '!./UI.Phantom/JsLibraries/**'
2015-07-22 04:42:38 +02:00
}
},
dest : {
root : './_output/UI.Phantom/',
content : './_output/UI.Phantom/Content/'
}
};
2015-07-18 20:50:16 +02:00
}
module.exports = paths;