Skip to content

Commit

Permalink
Fix in project build.
Browse files Browse the repository at this point in the history
  • Loading branch information
SpartanJ committed Jan 29, 2025
1 parent 0005f9f commit ad39ced
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions include/eepp/core/string.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -985,6 +985,8 @@ class EE_API String {
return buffer;
}

const StringType& getString() const { return mString; }

private:
friend EE_API bool operator==( const String& left, const String& right );
friend EE_API bool operator<( const String& left, const String& right );
Expand Down
4 changes: 3 additions & 1 deletion src/tools/ecode/projectbuild.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -800,7 +800,9 @@ std::optional<ProjectBuildStep> ProjectBuildManager::getCurrentRunConfig() {
if ( build != nullptr && build->hasRun() ) {
for ( const auto& crun : build->mRun ) {
if ( crun->name == mConfig.runName || mConfig.runName.empty() ) {
return build->replaceVars( *crun.get() );
ProjectBuildCommand res( build->replaceVars( *crun.get() ) );
replaceDynamicVars( res );
return res;
}
}
}
Expand Down

0 comments on commit ad39ced

Please sign in to comment.