forked from endless-sky/endless-sky
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ci): Add the EditorConfig style checker to CI (endless-sky#6815)
* Add editorconfig style checker CI. * Fix every editorconfig style violation. * Fix editorconfig file and (almost) all the violations found. * Fix comments. * Fix remaining style violations. * Correct my previous mistake. * Address review comments. * Address review comments. * Fix remaining style violations.
- Loading branch information
Showing
21 changed files
with
137 additions
and
122 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"Exclude": ["\\.mp3$", "test_datafile.cpp", "\\Shader.cpp$", "Font.cpp", "Mask.cpp"] | ||
} |
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 |
---|---|---|
@@ -1,54 +1,54 @@ | ||
data: | ||
- 'changelog*' | ||
- 'copyright*' | ||
- credits.txt | ||
- icon.png | ||
- keys.txt | ||
- license.txt | ||
- 'data/**/*' | ||
- 'images/**/*' | ||
- 'sounds/**/*' | ||
- 'changelog*' | ||
- 'copyright*' | ||
- credits.txt | ||
- icon.png | ||
- keys.txt | ||
- license.txt | ||
- 'data/**/*' | ||
- 'images/**/*' | ||
- 'sounds/**/*' | ||
|
||
game_code: &build | ||
- 'source/**' | ||
- 'source/**' | ||
|
||
macos: | ||
- 'XCode/**' | ||
- '**/*.xcodeproj' | ||
- 'icons/endless-sky.iconset/**' | ||
- 'utils/fetch_sdl2_framework.sh' | ||
- 'utils/set_dylibs_rpath.sh' | ||
- *build | ||
- 'XCode/**' | ||
- '**/*.xcodeproj' | ||
- 'icons/endless-sky.iconset/**' | ||
- 'utils/fetch_sdl2_framework.sh' | ||
- 'utils/set_dylibs_rpath.sh' | ||
- *build | ||
|
||
windows: | ||
- '**/*.cbp' | ||
- EndlessSky.workspace | ||
- SConstruct | ||
- .winmake | ||
- *build | ||
- '**/*.cbp' | ||
- EndlessSky.workspace | ||
- SConstruct | ||
- .winmake | ||
- *build | ||
|
||
linux: | ||
- SConstruct | ||
- *build | ||
- SConstruct | ||
- *build | ||
|
||
unit_tests: | ||
- 'tests/unit/**/*.h' | ||
- 'tests/unit/**/*.hpp' | ||
- 'tests/unit/**/*.cpp' | ||
- 'tests/unit/**/*.h' | ||
- 'tests/unit/**/*.hpp' | ||
- 'tests/unit/**/*.cpp' | ||
|
||
integration_tests: | ||
- 'utils/test_parse.*' | ||
- 'tests/integration/run_tests*' | ||
- 'data/tests/**' | ||
- 'tests/integration/universes/**' | ||
- 'utils/test_parse.*' | ||
- 'tests/integration/run_tests*' | ||
- 'data/tests/**' | ||
- 'tests/integration/universes/**' | ||
|
||
codespell: | ||
- .codespell.exclude | ||
- .codespell.exclude | ||
|
||
xcode_files: | ||
- 'EndlessSky.xcodeproj/**' | ||
- 'utils/check_xcode.sh' | ||
- 'EndlessSky.xcodeproj/**' | ||
- 'utils/check_xcode.sh' | ||
|
||
codeblocks_files: | ||
- '*.cbp' | ||
- 'utils/check_codeblocks.sh' | ||
- '*.cbp' | ||
- 'utils/check_codeblocks.sh' |
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
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
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
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
Oops, something went wrong.