automatically check for code style violations
This commit is contained in:
@@ -9,6 +9,7 @@ script:
|
|||||||
- make cli-dependencies
|
- make cli-dependencies
|
||||||
- make all
|
- make all
|
||||||
- make test
|
- make test
|
||||||
|
- make check
|
||||||
|
|
||||||
# Automatically update the trait documentation and Lua API
|
# Automatically update the trait documentation and Lua API
|
||||||
after_success:
|
after_success:
|
||||||
|
|||||||
8
Makefile
8
Makefile
@@ -178,6 +178,14 @@ test:
|
|||||||
@echo "Testing Tiberian Sun mod MiniYAML..."
|
@echo "Testing Tiberian Sun mod MiniYAML..."
|
||||||
@mono --debug OpenRA.Utility.exe ts --check-yaml
|
@mono --debug OpenRA.Utility.exe ts --check-yaml
|
||||||
|
|
||||||
|
check:
|
||||||
|
@echo "Checking for code style violations in OpenRA.Renderer.Null..."
|
||||||
|
@mono --debug OpenRA.Utility.exe ra --check-code-style OpenRA.Renderer.Null
|
||||||
|
@echo "Checking for code style violations in OpenRA.GameMonitor..."
|
||||||
|
@mono --debug OpenRA.Utility.exe ra --check-code-style OpenRA.GameMonitor
|
||||||
|
@echo "Checking for code style violations in OpenRA.Mods.Cnc..."
|
||||||
|
@mono --debug OpenRA.Utility.exe cnc --check-code-style OpenRA.Mods.Cnc
|
||||||
|
|
||||||
# Builds and exports tilesets from a bitmap
|
# Builds and exports tilesets from a bitmap
|
||||||
tsbuild_SRCS := $(shell find OpenRA.TilesetBuilder/ -iname '*.cs')
|
tsbuild_SRCS := $(shell find OpenRA.TilesetBuilder/ -iname '*.cs')
|
||||||
tsbuild_TARGET = OpenRA.TilesetBuilder.exe
|
tsbuild_TARGET = OpenRA.TilesetBuilder.exe
|
||||||
|
|||||||
Reference in New Issue
Block a user