-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathGruntfile.js
44 lines (37 loc) · 854 Bytes
/
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
/* jshint node: true */
module.exports = function(grunt) {
"use strict";
// Project configuration.
grunt.initConfig({
// Metadata.
pkg: grunt.file.readJSON('package.json'),
recess: {
options: {
compile: true
},
bootstrap: {
src: ['galaxy_bootstrap.less'],
dest: 'dist/galaxy_bootstrap.css'
},
min: {
options: {
compress: true
},
src: ['galaxy_bootstrap.less'],
dest: 'dist/galaxy_bootstrap.min.css'
}
},
jekyll: {
example: {
pygments: "true",
src: "example",
dest: "dist"
}
},
});
// These plugins provide necessary tasks.
grunt.loadNpmTasks('grunt-recess');
grunt.loadNpmTasks('grunt-jekyll');
// Default task.
grunt.registerTask('default', ['jekyll','recess']);
};