Skip to content

Commit eff4f84

Browse files
committed
HACK Remove FluentReferences lint check from the engine
1 parent 5a60675 commit eff4f84

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

fetch-engine.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ if [ "${AUTOMATIC_ENGINE_MANAGEMENT}" = "True" ]; then
7474
rmdir "${AUTOMATIC_ENGINE_EXTRACT_DIRECTORY}"
7575
rm "${AUTOMATIC_ENGINE_TEMP_ARCHIVE_NAME}"
7676

77+
# HACK: Remove bogus lint check that the Example mod can't possibly pass
78+
# because to do so it would need to define a lot of excess things surrounding resources.
79+
rm ${ENGINE_DIRECTORY}/OpenRA.Mods.Common/Lint/CheckFluentReferences.cs
80+
7781
echo "Compiling engine..."
7882
cd "${ENGINE_DIRECTORY}" || exit 1
7983
make version VERSION="${ENGINE_VERSION}"

make.ps1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,10 @@ if ($command -eq "all" -or $command -eq "clean" -or $command -eq "check")
367367

368368
rm $env:AUTOMATIC_ENGINE_EXTRACT_DIRECTORY -r
369369

370+
# HACK: Remove bogus lint check that the Example mod can't possibly pass
371+
# because to do so it would need to define a lot of excess things surrounding resources.
372+
rm $env:ENGINE_DIRECTORY/OpenRA.Mods.Common/Lint/CheckFluentReferences.cs
373+
370374
cd $env:ENGINE_DIRECTORY
371375
Invoke-Expression ".\make.cmd version $env:ENGINE_VERSION"
372376
Invoke-Expression ".\make.cmd $command"

0 commit comments

Comments
 (0)