This commit is contained in:
Nav
2022-01-02 20:45:14 +00:00
parent 2ecde9d11d
commit 327a24164c
3 changed files with 7 additions and 8 deletions

View File

@@ -31,11 +31,10 @@ int Application::run(const std::vector<std::string>& arguments) {
this->shutdown(); this->shutdown();
return returnValue; return returnValue;
} else {
// If the first argument didn't map to a command, we assume it's an environment name
this->selectedEnvironmentName = firstArg;
} }
// If the first argument didn't map to a command, we assume it's an environment name
this->selectedEnvironmentName = firstArg;
} }
#ifdef BLOOM_DEBUG_BUILD #ifdef BLOOM_DEBUG_BUILD

View File

@@ -9,19 +9,19 @@
#include "src/Helpers/Thread.hpp" #include "src/Helpers/Thread.hpp"
#include "src/SignalHandler/SignalHandler.hpp"
#include "src/TargetController/TargetController.hpp" #include "src/TargetController/TargetController.hpp"
#include "src/DebugServers/GdbRsp/AvrGdbRsp/AvrGdbRsp.hpp" #include "src/DebugServers/GdbRsp/AvrGdbRsp/AvrGdbRsp.hpp"
#include "src/Insight/Insight.hpp" #include "src/Insight/Insight.hpp"
#include "src/SignalHandler/SignalHandler.hpp"
#include "src/Logger/Logger.hpp"
#include "src/ProjectConfig.hpp" #include "src/ProjectConfig.hpp"
#include "src/ProjectSettings.hpp" #include "src/ProjectSettings.hpp"
#include "src/VersionNumber.hpp"
#include "src/EventManager/EventListener.hpp" #include "src/EventManager/EventListener.hpp"
#include "src/EventManager/Events/Events.hpp" #include "src/EventManager/Events/Events.hpp"
#include "src/VersionNumber.hpp"
namespace Bloom namespace Bloom
{ {
/** /**

View File

@@ -137,7 +137,7 @@ namespace Bloom
* Configuration relating to a specific user defined environment. * Configuration relating to a specific user defined environment.
* *
* An instance of this type will be instantiated for each environment defined in the user's config file. * An instance of this type will be instantiated for each environment defined in the user's config file.
* See Application::extractConfig() implementation for more on this. * See Application::loadProjectConfiguration() implementation for more on this.
*/ */
struct EnvironmentConfig struct EnvironmentConfig
{ {