approvals / approvals/ApprovalTests.cpp

Provide a script to allow users to generate the single header from the current code, without doing a release

Open
#184 9 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

infrastructure
Dominant language
C++
Stars
339
Forks
55
PR merge metrics
No merged PRs in 30d

Description

Hello,

I have a question on how the single header file is being generated inside the release process,
Basically if I only want to generate the single header file, it's including all the headers with their cpps inside "ApprovalTests.cpp/ApprovalTests/ApprovalTests.hpp" when using "create_simulated_single_header_file.py" with the parameter include cpps as true. I am aiming on having the output of the releases where the includes are replaced with the content of the headers/cpp, how can it be done automatically ?

Many thanks in advance for your response,
Regards,

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with create_simulated_single_header_file.py and inspect how the release process produces ApprovalTests.cpp/ApprovalTests/ApprovalTests.hpp when include cpp files is enabled. Compare both outputs and trace the release entry point; done means users can generate the release-style single header without performing a release.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, python
Domain
build-system, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.