johnynek / bosatsu

A python-ish pure and total functional programming language
Apache License 2.0
222 stars 11 forks source link

Add deps tool to show dependencies #1125

Closed johnynek closed 4 months ago

johnynek commented 5 months ago

This adds a new subcommand, deps to show the dependencies between packages without having to compile. It works on sources, interfaces and compiled packages.

It can output json or dot graphs, the latter purely for visualization.

codecov-commenter commented 5 months ago

Codecov Report

Attention: 82 lines in your changes are missing coverage. Please review.

Comparison is base (4b0fb03) 92.24% compared to head (d38d522) 91.81%. Report is 1 commits behind head on master.

Files Patch % Lines
...i/src/main/scala/org/bykn/bosatsu/PathModule.scala 21.56% 40 Missing :warning:
...e/src/main/scala/org/bykn/bosatsu/MainModule.scala 17.50% 33 Missing :warning:
core/src/main/scala/org/bykn/bosatsu/Package.scala 27.27% 8 Missing :warning:
core/src/main/scala/org/bykn/bosatsu/Import.scala 0.00% 1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1125 +/- ## ========================================== - Coverage 92.24% 91.81% -0.44% ========================================== Files 96 98 +2 Lines 10974 11372 +398 Branches 2605 2623 +18 ========================================== + Hits 10123 10441 +318 - Misses 851 931 +80 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.