Completed
Pull Request — master (#14)
by Andreas
02:51
created

Gruntfile.js   A

Complexity

Total Complexity 1
Complexity/F 1

Size

Lines of Code 18
Function Count 1

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
dl 0
loc 18
rs 10
c 1
b 0
f 0
cc 0
nc 1
mnd 0
bc 1
fnc 1
bpm 1
cpm 1
noi 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
};