{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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user