Skip to content

Commit 2c3496b

Browse files
Build doc cleanup (#470)
# Description This pr streamlines the build process by removing the python3 dependency and pointing to the new build scripts.
1 parent ec6b1e0 commit 2c3496b

14 files changed

+15
-168
lines changed

BuildChecker/BuildChecker.csproj

+1-3
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ https://docs.microsoft.com/en-us/visualstudio/msbuild/msbuild
1414
-->
1515
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
1616
<PropertyGroup>
17-
<Python>python3</Python>
18-
<Python Condition="'$(OS)'=='Windows_NT' Or '$(OS)'=='Windows'">py -3</Python>
1917
<ProjectGuid>{C899FCA4-7037-4E49-ABC2-44DE72487110}</ProjectGuid>
2018
<TargetFrameworkMoniker>.NETFramework, Version=v4.7.2</TargetFrameworkMoniker>
2119
<RestorePackages>false</RestorePackages>
@@ -39,7 +37,7 @@ https://docs.microsoft.com/en-us/visualstudio/msbuild/msbuild
3937
<OutputPath>bin\DebugOpt\</OutputPath>
4038
</PropertyGroup>
4139
<Target Name="Build">
42-
<Exec Command="$(Python) git_helper.py" CustomErrorRegularExpression="^Error" />
40+
<Exec Command="git submodule update --init --recursive"/>
4341
</Target>
4442
<Target Name="Rebuild" DependsOnTargets="Build" />
4543
<Target Name="Clean">

BuildChecker/git_helper.py

-110
This file was deleted.

BuildChecker/hooks/post-checkout

-13
This file was deleted.

BuildChecker/hooks/post-merge

-5
This file was deleted.

LEGAL.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ The Authors retain all copyright to their respective work submitted here.
66

77
## Code license
88

9-
Content contributed to this repository after commit 87c70a89a67d0521a56388e6b1c3f2cb947943e4 is licensed under the GNU Affero General Public License version 3.0 unless otherwise stated. See [LICENSE-AGPLv3](https://github.com/Simple-Station/Einstein-Engines/blob/master/LICENSE-AGPLv3.txt).
9+
Content contributed to this repository after commit 87c70a89a67d0521a56388e6b1c3f2cb947943e4 is licensed under the GNU Affero General Public License version 3.0 unless otherwise stated. See [LICENSE-AGPLv3](./LICENSE-AGPLv3.txt).
1010

11-
Content contributed to this repository before commit 87c70a89a67d0521a56388e6b1c3f2cb947943e4 is licensed under the MIT license unless otherwise stated. See [LICENSE-MIT](https://github.com/Simple-Station/Einstein-Engines/blob/master/LICENSE-MIT.txt).
11+
Content contributed to this repository before commit 87c70a89a67d0521a56388e6b1c3f2cb947943e4 is licensed under the MIT license unless otherwise stated. See [LICENSE-MIT](./LICENSE-MIT.txt).
1212

1313
[87c70a89a67d0521a56388e6b1c3f2cb947943e4](https://github.com/Simple-Station/Einstein-Engines/commit/87c70a89a67d0521a56388e6b1c3f2cb947943e4) was pushed on February 17th 2024 at 21:48 UTC
1414

README.md

+12-15
Original file line numberDiff line numberDiff line change
@@ -41,27 +41,24 @@ We provide some scripts shown below to make the job easier.
4141
### Build dependencies
4242

4343
> - Git
44-
> - DOTNET SDK 7.0 or higher
45-
> - python 3.7 or higher
44+
> - .NET SDK 8.0.100
4645
4746

4847
### Windows
4948

5049
> 1. Clone this repository
51-
> 2. Run `RUN_THIS.py` to init submodules and download the engine, or run `git submodule update --init --recursive` in a terminal
52-
> 3. Run the `Scripts/bat/run1buildDebug.bat`
53-
> 4. Run the `Scripts/bat/run2configDev.bat` if you need other configurations run other config scripts
54-
> 5. Run both the `Scripts/bat/run3server.bat` and `Scripts/bat/run4client.bat`
55-
> 6. Connect to localhost and play
50+
> 2. Run `git submodule update --init --recursive` in a terminal to download the engine
51+
> 3. Run `Scripts/bat/buildAllDebug.bat` after making any changes to the source
52+
> 4. Run `Scripts/bat/runQuickAll.bat` to launch the client and the server
53+
> 5. Connect to localhost in the client and play
5654
5755
### Linux
5856

5957
> 1. Clone this repository
60-
> 2. Run `RUN_THIS.py` to init submodules and download the engine, or run `git submodule update --init --recursive` in a terminal
61-
> 3. Run the `Scripts/sh/run1buildDebug.sh`
62-
> 4. Run the `Scripts/sh/run2configDev.sh` if you need other configurations run other config scripts
63-
> 5. Run both the `Scripts/sh/run3server.bat` and `scripts/sh/run4client.sh`
64-
> 6. Connect to localhost and play
58+
> 2. Run `git submodule update --init --recursive` in a terminal to download the engine
59+
> 3. Run `Scripts/bat/buildAllDebug.sh` after making any changes to the source
60+
> 4. Run `Scripts/bat/runQuickAll.sh` to launch the client and the server
61+
> 5. Connect to localhost in the client and play
6562
6663
### MacOS
6764

@@ -70,12 +67,12 @@ We provide some scripts shown below to make the job easier.
7067
## License
7168

7269
Content contributed to this repository after commit 87c70a89a67d0521a56388e6b1c3f2cb947943e4 (`17 February 2024 23:00:00 UTC`) is licensed under the GNU Affero General Public License version 3.0 unless otherwise stated.
73-
See [LICENSE-AGPLv3](https://github.com/Simple-Station/Einstein-Engines/blob/master/LICENSE-AGPLv3.txt).
70+
See [LICENSE-AGPLv3](./LICENSE-AGPLv3.txt).
7471

7572
Content contributed to this repository before commit 87c70a89a67d0521a56388e6b1c3f2cb947943e4 (`17 February 2024 23:00:00 UTC`) is licensed under the MIT license unless otherwise stated.
76-
See [LICENSE-MIT](https://github.com/Simple-Station/Einstein-Engines/blob/master/LICENSE-MIT.txt).
73+
See [LICENSE-MIT](./LICENSE-MIT.txt).
7774

7875
Most assets are licensed under [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) unless stated otherwise. Assets have their license and the copyright in the metadata file.
79-
[Example](https://github.com/Simple-Station/Einstein-Engines/blob/master/Resources/Textures/Objects/Tools/crowbar.rsi/meta.json).
76+
[Example](./Resources/Textures/Objects/Tools/crowbar.rsi/meta.json).
8077

8178
Note that some assets are licensed under the non-commercial [CC-BY-NC-SA 3.0](https://creativecommons.org/licenses/by-nc-sa/3.0/) or similar non-commercial licenses and will need to be removed if you wish to use this project commercially.

RUN_THIS.py

-13
This file was deleted.

Scripts/bat/buildAllDebug.bat

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
@echo off
22
cd ../../
33

4-
call python RUN_THIS.py
54
call git submodule update --init --recursive
65
call dotnet build -c Debug
76

Scripts/bat/buildAllRelease.bat

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
@echo off
22
cd ../../
33

4-
call python RUN_THIS.py
54
call git submodule update --init --recursive
65
call dotnet build -c Release
76

Scripts/bat/buildAllTools.bat

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
@echo off
22
cd ../../
33

4-
call python RUN_THIS.py
54
call git submodule update --init --recursive
65
call dotnet build -c Tools
76

Scripts/sh/buildAllDebug.sh

-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,5 @@ fi
77

88
cd ../../
99

10-
python RUN_THIS.py
1110
git submodule update --init --recursive
1211
dotnet build -c Debug

Scripts/sh/buildAllRelease.sh

-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,5 @@ fi
77

88
cd ../../
99

10-
python RUN_THIS.py
1110
git submodule update --init --recursive
1211
dotnet build -c Release

Scripts/sh/buildAllTools.sh

-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,5 @@ fi
77

88
cd ../../
99

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

shell.nix

-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ let
4141
dbus
4242
at-spi2-core
4343
cups
44-
python3
4544
];
4645
in pkgs.mkShell {
4746
name = "space-station-14-devshell";

0 commit comments

Comments
 (0)