forked from mindstellar/Osclass
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gruntfile.js
45 lines (40 loc) · 1.1 KB
/
Gruntfile.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
/*
* grunt-contrib-less
* http://gruntjs.com/
*
* Copyright (c) 2013 Tyler Kellen, contributors
* Licensed under the MIT license.
*/
'use strict';
module.exports = function (grunt) {
// Project configuration.
grunt.initConfig({
less: {
compile: {
options: {
paths: ['oc-admin/themes/modern/less'],
compress: true
},
files: {
'oc-admin/themes/modern/css/main.css': 'oc-admin/themes/modern/less/main.less'
}
}
},
sass: {
dist: {
options: {
style: 'compressed',
compass: true
},
files: {
'oc-content/themes/bender/css/main.css': 'oc-content/themes/bender/sass/main.scss'
}
}
}
});
// Actually load this plugin's task(s).
grunt.registerTask('less');
grunt.registerTask('sass');
grunt.loadNpmTasks('grunt-contrib-less');
grunt.loadNpmTasks('grunt-contrib-sass');
};