Update engine to 1b0ae1e.
This commit is contained in:
parent
7dbfbddef5
commit
6c6372711e
9
Makefile
9
Makefile
@ -19,7 +19,7 @@
|
|||||||
# make check
|
# make check
|
||||||
#
|
#
|
||||||
|
|
||||||
.PHONY: utility build clean engine version check-scripts check test
|
.PHONY: utility stylecheck build clean engine version check-scripts check test
|
||||||
.DEFAULT_GOAL := build
|
.DEFAULT_GOAL := build
|
||||||
|
|
||||||
VERSION = $(shell git name-rev --name-only --tags --no-undefined HEAD 2>/dev/null || echo git-`git rev-parse --short HEAD`)
|
VERSION = $(shell git name-rev --name-only --tags --no-undefined HEAD 2>/dev/null || echo git-`git rev-parse --short HEAD`)
|
||||||
@ -47,6 +47,9 @@ engine:
|
|||||||
utility: engine
|
utility: engine
|
||||||
@test -f "$(ENGINE_DIRECTORY)/OpenRA.Utility.exe" || (printf "OpenRA.Utility.exe not found!\n"; exit 1)
|
@test -f "$(ENGINE_DIRECTORY)/OpenRA.Utility.exe" || (printf "OpenRA.Utility.exe not found!\n"; exit 1)
|
||||||
|
|
||||||
|
stylecheck: engine
|
||||||
|
@test -f "$(ENGINE_DIRECTORY)/OpenRA.StyleCheck.exe" || (cd $(ENGINE_DIRECTORY) && make stylecheck)
|
||||||
|
|
||||||
build: engine
|
build: engine
|
||||||
ifeq ("$(HAS_MSBUILD)","")
|
ifeq ("$(HAS_MSBUILD)","")
|
||||||
@find . -maxdepth 1 -name '*.sln' -exec xbuild /nologo /verbosity:quiet /p:TreatWarningsAsErrors=true \;
|
@find . -maxdepth 1 -name '*.sln' -exec xbuild /nologo /verbosity:quiet /p:TreatWarningsAsErrors=true \;
|
||||||
@ -81,11 +84,11 @@ ifneq ("$(LUA_FILES)","")
|
|||||||
@luac -p $(LUA_FILES)
|
@luac -p $(LUA_FILES)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
check: utility
|
check: utility stylecheck
|
||||||
@echo "Checking for explicit interface violations..."
|
@echo "Checking for explicit interface violations..."
|
||||||
@MOD_SEARCH_PATHS="$(MOD_SEARCH_PATHS)" mono --debug "$(ENGINE_DIRECTORY)/OpenRA.Utility.exe" $(MOD_ID) --check-explicit-interfaces
|
@MOD_SEARCH_PATHS="$(MOD_SEARCH_PATHS)" mono --debug "$(ENGINE_DIRECTORY)/OpenRA.Utility.exe" $(MOD_ID) --check-explicit-interfaces
|
||||||
@echo "Checking for code style violations in OpenRA.Mods.$(MOD_ID)..."
|
@echo "Checking for code style violations in OpenRA.Mods.$(MOD_ID)..."
|
||||||
@MOD_SEARCH_PATHS="$(MOD_SEARCH_PATHS)" mono --debug "$(ENGINE_DIRECTORY)/OpenRA.Utility.exe" $(MOD_ID) --check-code-style OpenRA.Mods.$(MOD_ID)
|
@mono --debug "$(ENGINE_DIRECTORY)/OpenRA.StyleCheck.exe" OpenRA.Mods.$(MOD_ID)
|
||||||
|
|
||||||
test: utility
|
test: utility
|
||||||
@echo "Testing $(MOD_ID) mod MiniYAML..."
|
@echo "Testing $(MOD_ID) mod MiniYAML..."
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
# The id of the mod to launch by default. This must exist as a directory in the mods directory
|
# The id of the mod to launch by default. This must exist as a directory in the mods directory
|
||||||
MOD_ID="example"
|
MOD_ID="example"
|
||||||
|
|
||||||
ENGINE_VERSION="f75115a"
|
ENGINE_VERSION="1b0ae1e"
|
||||||
|
|
||||||
# Import the default OpenRA mods for use as external mod references
|
# Import the default OpenRA mods for use as external mod references
|
||||||
# in your mod.yaml. Accepts values "True" or "False".
|
# in your mod.yaml. Accepts values "True" or "False".
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user