-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathMakefile
57 lines (39 loc) · 1.39 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
.PHONY: build client server lint deploy noRL cl
DOTNET_FLAGS+= -c Release -v quiet -maxcpucount:5 /property:WarningLevel=0 /p:WarningsAsErrors=nullable
DOTNET_BUILD=dotnet build ${DOTNET_FLAGS}
build: noRL
${DOTNET_BUILD}
rlbuild: RL libRL
${DOTNET_BUILD}
fast: build fastserver fastclient
rlfast: rlbuild fastserver fastclient
libRL:
cd Content.Server/RL/libRL && make
RL:
cd Resources/Mining/RL && make
client:
cd ./bin/Content.Client && ../../linklibs && ./Content.Client
fastclient:
cd ./bin/Content.Client && ../../linklibs && ./Content.Client --connect-address localhost:1211 --connect && pkill -INT 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: noRL
${DOTNET_BUILD} Content.YAMLLinter
cd bin/Content.YAMLLinter && ../../linklibs && ./Content.YAMLLinter
test:
cd RobustToolbox/bin/UnitTesting && ../../../linklibs
cd bin/Content.Tests && ../../linklibs
dotnet test ${DOTNET_FLAGS}
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
cl:
sbcl --load autocl.lisp --quit