-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gruntfile.js
34 lines (30 loc) · 845 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
module.exports = function(grunt) {
// Use "copy" plugin to load files
// from third party libs into jekyll source folder
grunt.initConfig({
copy: {
main: {
files: [
// materialize font files
{
expand: true,
cwd: 'jekyll_source/_third_party/materialize/dist/font/',
src: ['**'],
dest: 'jekyll_source/font/'
},
// materialize js files
{
expand: true,
cwd: 'jekyll_source/_third_party/materialize/dist/js/',
src: 'materialize.min.js',
dest: 'jekyll_source/js/'
},
],
},
},
});
// Load the plugin that provides the "copy" task.
grunt.loadNpmTasks('grunt-contrib-copy');
// Default task(s).
grunt.registerTask('default', ['copy']);
};