Skip to content

Commit

Permalink
fix README and add Tools build
Browse files Browse the repository at this point in the history
  • Loading branch information
DEATHB4DEFEAT committed May 18, 2024
1 parent 8a202f2 commit 2bf1f18
Show file tree
Hide file tree
Showing 12 changed files with 30 additions and 2 deletions.
6 changes: 5 additions & 1 deletion Scripts/bat/!README.txt
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@ buildAllDebug
Builds all projects with debug configuration
buildAllRelease
Builds all projects with release configuration
buildAllTools
Builds all projects with tools configuration

The debug vs release build is simply what people develop in vs the actual server.
The release build contains various optimizations, while the debug build contains debugging tools.
If you're mapping, use the release build as it will run smoother with less crashes.
If you're mapping, use the release or tools build as it will run smoother with less crashes.


runQuickAll
Expand All @@ -15,6 +17,8 @@ runQuickClient
runQuickServer
Runs the server without building

runTests
Runs the unit tests, makes sure various C# systems work as intended
runTestsIntegration
Runs the integration tests, makes sure various C# systems work as intended
runTestsYAML
Expand Down
Empty file modified Scripts/bat/buildAllDebug.bat
100644 → 100755
Empty file.
Empty file modified Scripts/bat/buildAllRelease.bat
100644 → 100755
Empty file.
8 changes: 8 additions & 0 deletions Scripts/bat/buildAllTools.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
@echo off
cd ../../

call python RUN_THIS.py
call git submodule update --init --recursive
call dotnet build -c Tools

pause
Empty file modified Scripts/bat/runQuickAll.bat
100644 → 100755
Empty file.
Empty file modified Scripts/bat/runQuickClient.bat
100644 → 100755
Empty file.
Empty file modified Scripts/bat/runQuickServer.bat
100644 → 100755
Empty file.
Empty file modified Scripts/bat/runTests.bat
100644 → 100755
Empty file.
Empty file modified Scripts/bat/runTestsIntegration.bat
100644 → 100755
Empty file.
Empty file modified Scripts/bat/runTestsYAML.bat
100644 → 100755
Empty file.
6 changes: 5 additions & 1 deletion Scripts/sh/!README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@ buildAllDebug
Builds all projects with debug configuration
buildAllRelease
Builds all projects with release configuration
buildAllTools
Builds all projects with tools configuration

The debug vs release build is simply what people develop in vs the actual server.
The release build contains various optimizations, while the debug build contains debugging tools.
If you're mapping, use the release build as it will run smoother with less crashes.
If you're mapping, use the release or tools build as it will run smoother with less crashes.


runQuickAll
Expand All @@ -15,6 +17,8 @@ runQuickClient
runQuickServer
Runs the server without building

runTests
Runs the unit tests, makes sure various C# systems work as intended
runTestsIntegration
Runs the integration tests, makes sure various C# systems work as intended
runTestsYAML
Expand Down
12 changes: 12 additions & 0 deletions Scripts/sh/buildAllTools.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/usr/bin/env sh

# make sure to start from script dir
if [ "$(dirname $0)" != "." ]; then
cd "$(dirname $0)"
fi

cd ../../

python RUN_THIS.py
git submodule update --init --recursive
dotnet build -c Tools

0 comments on commit 2bf1f18

Please sign in to comment.