forked from Vault-Overseers/nuclear-14
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
36 lines (25 loc) · 903 Bytes
/
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
.PHONY: build client server lint deploy
DOTNET_FLAGS=-c Release -v quiet -maxcpucount:5 /property:WarningLevel=0
DOTNET_BUILD=dotnet build ${DOTNET_FLAGS}
fast: build fastserver fastclient
build:
${DOTNET_BUILD}
client:
cd ./bin/Content.Client && ../../linklibs && ./Content.Client
fastclient:
cd ./bin/Content.Client && ../../linklibs && ./Content.Client --connect-address localhost:1212 --connect && pkill -TERM Content.Server
server:
cd ./bin/Content.Server && ./Content.Server
fastserver:
cd ./bin/Content.Server && ./Content.Server &
lint:
${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:
python3 Tools/package_server_build.py --hybrid-acz
deploy: package
mv release/* ~ss14/downloads