forked from Goob-Station/Goob-Station
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRUN_THIS.py
More file actions
executable file
·22 lines (18 loc) · 898 Bytes
/
RUN_THIS.py
File metadata and controls
executable file
·22 lines (18 loc) · 898 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# SPDX-FileCopyrightText: 2017 PJB3005 <[email protected]>
# SPDX-FileCopyrightText: 2017 Pieter-Jan Briers <[email protected]>
# SPDX-FileCopyrightText: 2021 Paul Ritter <[email protected]>
# SPDX-FileCopyrightText: 2021 Swept <[email protected]>
# SPDX-FileCopyrightText: 2024 Nikolai Korolev <[email protected]>
# SPDX-FileCopyrightText: 2025 Aiden <[email protected]>
#
# SPDX-License-Identifier: MIT
#!/usr/bin/env python3
# Import future so people on py2 still get the clear error that they need to upgrade.
from __future__ import print_function
import sys
import subprocess
version = sys.version_info
if version.major < 3 or (version.major == 3 and version.minor < 5):
print("ERROR: You need at least Python 3.5 to build SS14.")
sys.exit(1)
subprocess.run([sys.executable, "git_helper.py"], cwd="BuildChecker")