Total Complexity | 1 |
Complexity/F | 1 |
Lines of Code | 18 |
Function Count | 1 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | module.exports = function(grunt) { |
||
2 | grunt.initConfig({ |
||
3 | clean: ['public/lib'], |
||
4 | copy: { |
||
5 | leaflet: { |
||
6 | cwd: 'node_modules/leaflet/dist', |
||
7 | src: '**/*', |
||
8 | dest: 'public/lib/leaflet', |
||
9 | expand: true |
||
10 | } |
||
11 | } |
||
12 | }); |
||
13 | |||
14 | grunt.loadNpmTasks('grunt-contrib-clean'); |
||
15 | grunt.loadNpmTasks('grunt-contrib-copy'); |
||
16 | |||
17 | grunt.registerTask('default', ['clean', 'copy']); |
||
18 | }; |