Skip to content

Problem: Accumulation of Scans #13

@Brootux

Description

@Brootux

Hi there,

ive got the following Problem with the generation of .dot-files. If i setup my configuration as the following example:

'modules-graph': {
    options: {
        // Task-specific options go here.
    },
    all: {
        files: {
            'doc/graphs/all.dot': ['foo/**/*.js',
                                   'bar/**/*.js']
        }
    },
    foo: {
        files: {
            'doc/graphs/foo.dot': ['foo/**/*.js']
        }
    },
    bar: {
        files: {
            'doc/graphs/bar.dot': ['bar/**/*.js']
        }
    }
}

And create a grunt-job like this:

grunt.registerTask('graphsAll', [
    'modules-graph:foo',
    'modules-graph:bar',
    'modules-graph:all',
    'graphviz'
]);

Then ill have foo.png as a correct result (Just files of foo are in the graph), but bar.png has all files from foo and from bar in it (wich is exactliy the same as all.png).

I think you have to delete everything scanned after completing a scan.

Best regards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions