Skip to content

Commit

Permalink
Default to build without RL
Browse files Browse the repository at this point in the history
  • Loading branch information
Partmedia committed Mar 21, 2024
1 parent 09838e9 commit 17ff98f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 74 deletions.
24 changes: 12 additions & 12 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
.PHONY: build client server lint deploy
.PHONY: build client server lint deploy noRL

DOTNET_FLAGS+= -c Release -v quiet -maxcpucount:5 /property:WarningLevel=0 /p:WarningsAsErrors=nullable
DOTNET_BUILD=dotnet build ${DOTNET_FLAGS}

fast: build fastserver fastclient
build: noRL
${DOTNET_BUILD}

build: libRL
rlbuild: libRL
${DOTNET_BUILD}

libRL:
Expand All @@ -17,17 +18,10 @@ RL:
client:
cd ./bin/Content.Client && ../../linklibs && ./Content.Client

fastclient:
cd ./bin/Content.Client && ../../linklibs && ./Content.Client --connect-address localhost:1211 --connect && pkill -TERM Content.Server

server:
cd ./bin/Content.Server && ./Content.Server --config-file ../../devel_config.toml

fastserver:
cd ./bin/Content.Server && ./Content.Server --config-file ../../fast_config.toml &

lint:
rm -f Content.Server/RL/libRL/libRL.so
lint: noRL
${DOTNET_BUILD} Content.YAMLLinter
cd bin/Content.YAMLLinter && ../../linklibs && ./Content.YAMLLinter

Expand All @@ -36,9 +30,15 @@ test:
cd bin/Content.Tests && ../../linklibs
dotnet test ${DOTNET_FLAGS}

package: libRL RL
package: noRL
python3 Tools/package_server_build.py --hybrid-acz ${PACKAGE_BUILD_ARGS}

rlpackage: libRL RL
python3 Tools/package_server_build.py --hybrid-acz ${PACKAGE_BUILD_ARGS}

deploy: package
mv release/* ~ss14/downloads
git push -f ms14 HEAD:ms/server

noRL:
rm -f Content.Server/RL/libRL/libRL.so
62 changes: 0 additions & 62 deletions fast_config.toml

This file was deleted.

0 comments on commit 17ff98f

Please sign in to comment.