-
Notifications
You must be signed in to change notification settings - Fork 565
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
66 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// This file is included right at the start of the DME. | ||
// Its purpose is to enable multiple lints (pragmas) that are supported by OpenDream to better validate the codebase | ||
// These are essentially nitpicks the DM compiler should pick up on but doesnt | ||
|
||
#ifndef SPACEMAN_DMM | ||
#ifdef OPENDREAM | ||
// These are in their own file as you need to do it with an include as a hack to avoid | ||
// SpacemanDMM evaluating the #pragma lines, even if its outside a block it cares about | ||
#include "tools/ci/lints.dm" | ||
#endif | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
//1000-1999 | ||
#pragma FileAlreadyIncluded error | ||
#pragma MissingIncludedFile error | ||
#pragma MisplacedDirective error | ||
#pragma UndefineMissingDirective error | ||
#pragma DefinedMissingParen error | ||
#pragma ErrorDirective error | ||
#pragma WarningDirective error | ||
#pragma MiscapitalizedDirective error | ||
|
||
//2000-2999 | ||
#pragma SoftReservedKeyword error | ||
#pragma DuplicateVariable error | ||
#pragma DuplicateProcDefinition error | ||
#pragma TooManyArguments error | ||
#pragma PointlessParentCall error | ||
#pragma PointlessBuiltinCall error | ||
#pragma SuspiciousMatrixCall error | ||
#pragma MalformedRange error | ||
#pragma InvalidRange error | ||
#pragma InvalidSetStatement error | ||
#pragma InvalidOverride error | ||
#pragma DanglingVarType error | ||
#pragma MissingInterpolatedExpression error | ||
|
||
//3000-3999 | ||
#pragma EmptyBlock error |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/bash | ||
set -eo pipefail | ||
dotnet OpenDream/DMCompiler/bin/Release/net7.0/DMCompiler.dll --suppress-unimplemented colonialmarines.dme |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/bash | ||
set -eo pipefail | ||
|
||
git clone https://github.com/OpenDreamProject/OpenDream.git OpenDream | ||
cd OpenDream | ||
git submodule update --init --recursive | ||
dotnet restore | ||
dotnet build -c Release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters