HACK Remove FluentReferences lint check from the engine

This commit is contained in:
Pavel Penev 2025-04-08 21:00:49 +03:00 committed by Matthias Mailänder
parent 68fbbef7da
commit 12dbaa1248
2 changed files with 8 additions and 0 deletions

View File

@ -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}"

View File

@ -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"