Repository navigation
Expand file tree
/
Copy pathGruntfile.js
More file actions
42 lines (39 loc) · 1.52 KB
/
Copy pathGruntfile.js
File metadata and controls
42 lines (39 loc) · 1.52 KB
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
// Variables. Need to change according new felayout_...
var felayout = 'felayout_bluemountain';
var felayoutSmallBranch = 'felayout_bluemountain_less';
var felayoutHbsPartials = felayout + '/dev/templates/parts';
var felayoutHbsPages = felayout + '/dev/templates/pages';
var felayoutHbsHelpers = felayout + '/grunt/helpers/helper-*.js';
// Customizer templates
// Customizer layout should be almost the same as felayout layout. Only with less instead of css.
var customizerHbsLayout = 'dev/templates/layout';
var customizerHbsPartials = 'dev/templates/parts';
// remote repo configs
var remoteBranch = 'gh-pages';
var remoteRepo = 'git@github.com:t3kit/theme_bluemountain_customizer.git';
module.exports = function(grunt) {
require('time-grunt')(grunt);
require('load-grunt-config')(grunt, {
data: {
felayout: felayout,
felayoutSmallBranch: felayoutSmallBranch,
felayoutHbsPartials: felayoutHbsPartials,
felayoutHbsPages: felayoutHbsPages,
felayoutHbsHelpers: felayoutHbsHelpers,
// Customizer templates
customizerHbsLayout: customizerHbsLayout,
customizerHbsPartials: customizerHbsPartials,
dev: 'dev',
temp: 'temp',
// remote repo configs
remoteRepo: remoteRepo,
remoteBranch: remoteBranch
},
jitGrunt: {
staticMappings: {
buildcontrol: 'grunt-build-control'
}
}
});
grunt.loadNpmTasks('grunt-notify');
};