Completed
Pull Request — development (#482)
by Mirco
06:37
created

htdocs/Gruntfile.js   A

Complexity

Total Complexity 1
Complexity/F 1

Size

Lines of Code 24
Function Count 1

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
dl 0
loc 24
rs 10
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
        sass: {
4
            dist: {
5
                files: {
6
                    'web/css/style.css': 'theme/scss/all.scss'
7
                }
8
            },
9
            options: {
10
                sourceMap: true
11
            }
12
        },
13
        watch: {
14
            source: {
15
                files: ['theme/scss/all.scss', 'theme/scss/components/*.scss'],
16
                tasks: ['sass']
17
            }
18
        }
19
    });
20
21
    grunt.loadNpmTasks('grunt-contrib-watch');
22
    grunt.loadNpmTasks('grunt-sass');
23
    grunt.registerTask('default', ['sass']);
24
};