{lyn8865} Adding DataTypes::ScriptProcessorFallbackLogic (#6396)

* {lyn8865} Adding DataTypes::ScriptProcessorFallbackLogic

- Give the user an option how to handle fallback logic for script rules

Signed-off-by: Allen Jackson <23512001+jackalbe@users.noreply.github.com>

* the new code found an error in a Python script... it seems to work!

Signed-off-by: Allen Jackson <23512001+jackalbe@users.noreply.github.com>

* fixing up the regression test

Signed-off-by: Jackson <23512001+jackalbe@users.noreply.github.com>

* dump version number

Signed-off-by: Allen Jackson <23512001+jackalbe@users.noreply.github.com>
This commit is contained in:
Allen Jackson
2022-01-05 16:08:58 -06:00
committed by GitHub
parent 8a271cabb3
commit 6c3d5c434e
8 changed files with 126 additions and 9 deletions
@@ -17,6 +17,12 @@ namespace AZ
{
namespace DataTypes
{
enum class ScriptProcessorFallbackLogic
{
FailBuild, // this will log error & fail the build
ContinueBuild // this will log the errors but continue the build logic
};
class IScriptProcessorRule
: public IRule
{
@@ -26,6 +32,8 @@ namespace AZ
virtual ~IScriptProcessorRule() override = default;
virtual const AZStd::string& GetScriptFilename() const = 0;
virtual ScriptProcessorFallbackLogic GetScriptProcessorFallbackLogic() const = 0;
};
} // DataTypes
} // SceneAPI