sonarr-repo-only/gulp/paths.js

46 lines
1.1 KiB
JavaScript
Raw Normal View History

2015-07-18 18:50:16 +00:00
var phantom = require('./phantom');
var paths = {
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/'
}
};
if (phantom) {
paths = {
2014-08-28 21:40:18 +00:00
src: {
2015-07-18 18:50:16 +00:00
root: './src/UI.Phantom/',
templates: './src/UI.Phantom/**/*.hbs',
html: './src/UI.Phantom/*.html',
partials: './src/UI.Phantom/**/*Partial.hbs',
scripts: './src/UI.Phantom/**/*.js',
less: ['./src/UI.Phantom/**/*.less'],
content: './src/UI.Phantom/Content/',
images: './src/UI.Phantom/Content/Images/**/*',
exclude: {
libs: '!./src/UI.Phantom/JsLibraries/**'
}
2014-08-28 21:40:18 +00:00
},
dest: {
2015-07-18 18:50:16 +00:00
root: './_output/UI.Phantom/',
content: './_output/UI.Phantom/Content/'
2014-08-28 21:40:18 +00:00
}
2015-07-18 18:50:16 +00:00
};
}
module.exports = paths;