Closed Milerius closed 4 years ago
There is not working directory anymore ?
I will assume that
auto ec = registry_.at(coin).background.start(args, reproc::options{nullptr,tools_path_.string().c_str()});
Is what I want
But I'm surprise you seem's to use SemVer (https://semver.org/#summary)
May be it's not semver or I miss something ?
This change is a breaking one but the SemVer Major version is not updated, that's why I'm surprised.
In case you are following semver you can use a trick in the GitHub Actions if you use https://www.conventionalcommits.org/en/v1.0.0/
you can according to your commit message automatically bump a new version that upgrade Major version in case of API break based on the commit message
I don't update the major version for each separate breaking change. When I decide to do a release and I've done breaking changes since the last release, I release a new major version. Of course, if you're following the master branch, each commit can possibly break backwards compatibility. The set of breaking changes you're experiencing now will be part of reproc 10.0.0
The solution you posted is indeed how a custom working directory should be specified now.
Ok thanks !
hello the line
auto ec = registry_.at(coin).background.start(args, tools_path_.string().c_str());
is not compiling for me anymore: