Repository navigation
refactor: new version of MakeSingleFiles - #546
Merged
Merged
Conversation
Codecov Report
@@ Coverage Diff @@
## master #546 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 12 12
Lines 3780 3780
=========================================
Hits 3780 3780
Continue to review full report at Codecov.
|
henryiii
force-pushed
the
henryiii-py
branch
2 times, most recently
from
December 31, 2020 00:15
00a430c to
71765b3
Compare
henryiii
force-pushed
the
henryiii-py
branch
from
December 31, 2020 00:24
71765b3 to
24ddfb9
Compare
henryiii
marked this pull request as ready for review
December 31, 2020 01:03
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This makes "MakeSingleFiles" explicitly controlled by "magic comments". This provides enough freedom to work on the optional pre-compile mode, which otherwise would require significantly more advanced logic to pull off automatically when merging files - this should keep it manageable.
Comments look like this:
// [CLI11:<name>:<action>], where action starts withverbatimorset, and ends withend. The names are then available to be used in a.infile. I've kept the script mostly general in design, though we have CLI11 specific defaults in it.Maybe we should move the
CLI11.hpp.infile somewhere other than the main dir?