Skip to content

Commit 03ea9ae

Browse files
Changing reset cache behavior to only affect compiled source
1 parent 7dc8a1b commit 03ea9ae

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Src/runcpp2/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ int main(int argc, char* argv[])
261261
static_assert(static_cast<int>(runcpp2::CmdOptions::COUNT) == 13, "Update this");
262262
ssLOG_BASE("Usage: runcpp2 [options] [input_file]");
263263
ssLOG_BASE("Options:");
264-
ssLOG_BASE(" -r, --[r]eset-cache Deletes all cache and build everything from scratch");
264+
ssLOG_BASE(" -r, --[r]eset-cache Deletes compiled source files cache only");
265265
ssLOG_BASE(" -c, --reset-user-[c]onfig Replace current user config with the default one");
266266
ssLOG_BASE(" -e, --[e]xecutable Runs as executable instead of shared library");
267267
ssLOG_BASE(" -h, --[h]elp Show this help message");

Src/runcpp2/runcpp2.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -787,9 +787,7 @@ runcpp2::StartPipeline( const std::string& scriptPath,
787787
return PipelineResult::DEPENDENCIES_FAILED;
788788
}
789789

790-
if( currentOptions.count(CmdOptions::RESET_CACHE) > 0 ||
791-
currentOptions.count(CmdOptions::REMOVE_DEPENDENCIES) > 0 ||
792-
scriptInfoChanged)
790+
if(currentOptions.count(CmdOptions::REMOVE_DEPENDENCIES) > 0 || scriptInfoChanged)
793791
{
794792
if(!CleanupDependencies(profiles.at(profileIndex),
795793
scriptInfo,

0 commit comments

Comments
 (0)