Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem: Accumulation of Scans #13

Open
Brootux opened this issue Aug 15, 2014 · 0 comments
Open

Problem: Accumulation of Scans #13

Brootux opened this issue Aug 15, 2014 · 0 comments

Comments

@Brootux
Copy link

Brootux commented Aug 15, 2014

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant