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

Print dependcygraph when circular dependencies occurs #850

Merged
merged 2 commits into from Jan 12, 2015

Conversation

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

This comment has been minimized.

Collaborator

fasterthanlime commented Jan 12, 2015

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

This comment has been minimized.

Collaborator

fasterthanlime commented Jan 12, 2015

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