Trick-17 / clang-build

Clang-based cross platform build system written in Python
https://clang-build.readthedocs.io
MIT License
8 stars 3 forks source link

Added `public_dependencies` including test. #127

Closed GPMueller closed 3 years ago

GPMueller commented 4 years ago

Closes #101.

TODO:

Note: we may want to find a more elegant solution at some point, but this one should work fine for now.


The rules are as follows:

public dependencies of a shared lib

Untitled Diagram 1

app -> A -> X:

app -> A -> Y:

public dependencies of a static lib

Untitled Diagram 2

app -> B -> M:

app -> B -> N:

private dependencies of a shared lib

Untitled Diagram 3

app -> A -> X:

app->A->Y:

private dependencies of a static lib

Untitled Diagram 4

app -> B -> M:

app -> B -> N:

codecov[bot] commented 4 years ago

Codecov Report

Merging #127 (f61b9f3) into master (9c3dda0) will decrease coverage by 0.47%. The diff coverage is 97.05%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #127      +/-   ##
==========================================
- Coverage   78.42%   77.95%   -0.48%     
==========================================
  Files          16       18       +2     
  Lines        1154     1279     +125     
==========================================
+ Hits          905      997      +92     
- Misses        249      282      +33     
Impacted Files Coverage Δ
clang_build/target.py 80.32% <94.11%> (+1.39%) :arrow_up:
clang_build/directories.py 100.00% <100.00%> (ø)
clang_build/project.py 83.67% <100.00%> (+0.45%) :arrow_up:
clang_build/cli.py 51.61% <0.00%> (ø)
clang_build/__init__.py 100.00% <0.00%> (ø)
clang_build/environment.py 92.10% <0.00%> (+3.21%) :arrow_up:
clang_build/toolchain.py 82.29% <0.00%> (+5.20%) :arrow_up:
clang_build/single_source.py 63.26% <0.00%> (+8.16%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 9c3dda0...f61b9f3. Read the comment docs.