diff --git a/fetch-engine.sh b/fetch-engine.sh index 5850bba..8b4ca0f 100755 --- a/fetch-engine.sh +++ b/fetch-engine.sh @@ -74,6 +74,10 @@ if [ "${AUTOMATIC_ENGINE_MANAGEMENT}" = "True" ]; then rmdir "${AUTOMATIC_ENGINE_EXTRACT_DIRECTORY}" rm "${AUTOMATIC_ENGINE_TEMP_ARCHIVE_NAME}" + # HACK: Remove bogus lint check that the Example mod can't possibly pass + # because to do so it would need to define a lot of excess things surrounding resources. + rm ${ENGINE_DIRECTORY}/OpenRA.Mods.Common/Lint/CheckFluentReferences.cs + echo "Compiling engine..." cd "${ENGINE_DIRECTORY}" || exit 1 make version VERSION="${ENGINE_VERSION}" diff --git a/make.ps1 b/make.ps1 index 548adbe..8dad44f 100644 --- a/make.ps1 +++ b/make.ps1 @@ -367,6 +367,10 @@ if ($command -eq "all" -or $command -eq "clean" -or $command -eq "check") rm $env:AUTOMATIC_ENGINE_EXTRACT_DIRECTORY -r + # HACK: Remove bogus lint check that the Example mod can't possibly pass + # because to do so it would need to define a lot of excess things surrounding resources. + rm $env:ENGINE_DIRECTORY/OpenRA.Mods.Common/Lint/CheckFluentReferences.cs + cd $env:ENGINE_DIRECTORY Invoke-Expression ".\make.cmd version $env:ENGINE_VERSION" Invoke-Expression ".\make.cmd $command"