Print dependcygraph when circular dependencies occurs #850

Merged
merged 2 commits into from Jan 12, 2015

Projects

None yet

2 participants

@zhaihj
Contributor
zhaihj commented Jan 9, 2015

Print a simple dependency graph : (--verbose)

From unknown source [error] Circular dependencies among remaining modules: [test/base/CLIParserTest, sdk, ooc-math, ooc-collections, ooc-base]
Dependency Graph: 
test/base/CLIParserTest : 3 [
    test/base/CLIParserTest => sdk
    test/base/CLIParserTest => ooc-collections
    test/base/CLIParserTest => ooc-base
]
sdk : 1 [
    sdk => ooc-math
]
ooc-math : 1 [
    ooc-math => sdk
]
ooc-collections : 1 [
    ooc-collections => sdk
]
ooc-base : 2 [
    ooc-base => sdk
    ooc-base => ooc-collections
]

[FAIL]
@fasterthanlime fasterthanlime merged commit 7e5ea93 into ooc-lang:master Jan 12, 2015

1 check passed

continuous-integration/travis-ci The Travis CI build passed
Details
@fasterthanlime
Collaborator

Works great:

screen shot 2015-01-12 at 16 54 24

Merged, thanks!

(Although I don't think enough snowmen in there, but it's a matter of personal taste).

@fasterthanlime
Collaborator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment