coder137 / build_in_cpp

Build C, C++ and ASM files in C++
https://coder137.github.io/build_in_cpp/
Apache License 2.0
50 stars 2 forks source link

[Functionality] Reduce Custom generator scope to a Single stage generator #227

Closed coder137 closed 1 year ago

coder137 commented 1 year ago

Reduces the scope of Custom Generator functionality to remain a Single-Stage generator.

Earlier implementation of Custom Generator was very complex and allowed it to be a Multi-Stage generator.

codecov[bot] commented 1 year ago

Codecov Report

Base: 99.31% // Head: 99.15% // Decreases project coverage by -0.16% :warning:

Coverage data is based on head (03061bd) compared to base (57a26a5). Patch coverage: 98.84% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #227 +/- ## ========================================== - Coverage 99.31% 99.15% -0.16% ========================================== Files 73 75 +2 Lines 2039 2004 -35 Branches 573 564 -9 ========================================== - Hits 2025 1987 -38 - Partials 14 17 +3 ``` | [Impacted Files](https://codecov.io/gh/coder137/build_in_cpp/pull/227?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Niket+Naidu) | Coverage Δ | | |---|---|---| | [buildcc/lib/target/include/target/file\_generator.h](https://codecov.io/gh/coder137/build_in_cpp/pull/227/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Niket+Naidu#diff-YnVpbGRjYy9saWIvdGFyZ2V0L2luY2x1ZGUvdGFyZ2V0L2ZpbGVfZ2VuZXJhdG9yLmg=) | `100.00% <ø> (ø)` | | | [...dcc/lib/target/include/target/template\_generator.h](https://codecov.io/gh/coder137/build_in_cpp/pull/227/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Niket+Naidu#diff-YnVpbGRjYy9saWIvdGFyZ2V0L2luY2x1ZGUvdGFyZ2V0L3RlbXBsYXRlX2dlbmVyYXRvci5o) | `100.00% <ø> (ø)` | | | [...cc/schema/include/schema/custom\_generator\_schema.h](https://codecov.io/gh/coder137/build_in_cpp/pull/227/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Niket+Naidu#diff-YnVpbGRjYy9zY2hlbWEvaW5jbHVkZS9zY2hlbWEvY3VzdG9tX2dlbmVyYXRvcl9zY2hlbWEuaA==) | `100.00% <ø> (ø)` | | | [...ildcc/lib/target/include/target/custom\_generator.h](https://codecov.io/gh/coder137/build_in_cpp/pull/227/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Niket+Naidu#diff-YnVpbGRjYy9saWIvdGFyZ2V0L2luY2x1ZGUvdGFyZ2V0L2N1c3RvbV9nZW5lcmF0b3IuaA==) | `98.28% <97.67%> (-1.72%)` | :arrow_down: | | [...lude/target/custom\_generator/custom\_blob\_handler.h](https://codecov.io/gh/coder137/build_in_cpp/pull/227/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Niket+Naidu#diff-YnVpbGRjYy9saWIvdGFyZ2V0L2luY2x1ZGUvdGFyZ2V0L2N1c3RvbV9nZW5lcmF0b3IvY3VzdG9tX2Jsb2JfaGFuZGxlci5o) | `100.00% <100.00%> (ø)` | | | [...target/custom\_generator/custom\_generator\_context.h](https://codecov.io/gh/coder137/build_in_cpp/pull/227/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Niket+Naidu#diff-YnVpbGRjYy9saWIvdGFyZ2V0L2luY2x1ZGUvdGFyZ2V0L2N1c3RvbV9nZW5lcmF0b3IvY3VzdG9tX2dlbmVyYXRvcl9jb250ZXh0Lmg=) | `100.00% <100.00%> (ø)` | | | [...b/target/src/custom\_generator/custom\_generator.cpp](https://codecov.io/gh/coder137/build_in_cpp/pull/227/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Niket+Naidu#diff-YnVpbGRjYy9saWIvdGFyZ2V0L3NyYy9jdXN0b21fZ2VuZXJhdG9yL2N1c3RvbV9nZW5lcmF0b3IuY3Bw) | `98.94% <100.00%> (-0.43%)` | :arrow_down: | | [...ldcc/schema/src/custom\_generator\_serialization.cpp](https://codecov.io/gh/coder137/build_in_cpp/pull/227/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Niket+Naidu#diff-YnVpbGRjYy9zY2hlbWEvc3JjL2N1c3RvbV9nZW5lcmF0b3Jfc2VyaWFsaXphdGlvbi5jcHA=) | `94.44% <0.00%> (-5.56%)` | :arrow_down: | | [buildcc/schema/src/target\_serialization.cpp](https://codecov.io/gh/coder137/build_in_cpp/pull/227/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Niket+Naidu#diff-YnVpbGRjYy9zY2hlbWEvc3JjL3RhcmdldF9zZXJpYWxpemF0aW9uLmNwcA==) | `96.97% <0.00%> (-3.03%)` | :arrow_down: | | [buildcc/lib/target/src/target/build.cpp](https://codecov.io/gh/coder137/build_in_cpp/pull/227/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Niket+Naidu#diff-YnVpbGRjYy9saWIvdGFyZ2V0L3NyYy90YXJnZXQvYnVpbGQuY3Bw) | `91.43% <0.00%> (-0.68%)` | :arrow_down: | | ... and [11 more](https://codecov.io/gh/coder137/build_in_cpp/pull/227/diff?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Niket+Naidu) | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Niket+Naidu). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Niket+Naidu)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.