1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-09-15 06:52:34 +02:00
ScreenPlay/Tools
Elias Steurer 0185d6d952 Add proper Godot package export caching
We now have  3 versions saved in the godot
project.json.

version: Project version. Every version bump will trigger a
reexport.

We just save the major and minor version for now. Godot
does have pretty good version compability. We will need this information
later when we upgrade to newer Godot versions

godotVersionMajor
godotVersionMinor

Update to latest Godot RC1
2023-11-23 11:37:50 +01:00
..
chocolatey/ScreenPlay Update choco package 2023-07-02 12:15:45 +02:00
Installer Update ScreenPlay version to 0.15.0 2023-07-01 11:14:41 +02:00
Scoop Update ScreenPlay version to 0.15.0 2023-07-01 11:14:41 +02:00
Steam Fix macOS launch and build 2023-11-09 17:06:24 +01:00
build_and_publish_steam.py Fix macOS launch and build 2023-11-09 17:06:24 +01:00
build_config.py Fix CMAKE_OSX_ARCHITECTURES 2023-11-09 12:50:24 +01:00
build_godot.py Add ci support for godot 2023-11-02 12:50:29 +01:00
build_result.py Add license header 2023-11-01 12:33:19 +01:00
build.py Change Godot build and setup to be opt-in for now 2023-11-09 10:30:01 +01:00
check_format_cmake.py Fix all formatting scripts and format files 2023-08-20 11:59:02 +02:00
check_format_cpp.py Fix all formatting scripts and format files 2023-08-20 11:59:02 +02:00
check_format_qml.py Add license header 2023-11-01 12:33:19 +01:00
check_license_header.py Add license SPDX checker script 2023-08-20 12:29:05 +02:00
check_moc_includes.py Add automatic moc include for faster compile times 2023-02-04 11:42:32 +01:00
CMakeLists.txt Fix wrong define 2023-11-09 12:29:12 +01:00
create_sha512.py Add license header 2023-11-01 12:33:19 +01:00
defines.py Add proper Godot package export caching 2023-11-23 11:37:50 +01:00
download_ffmpeg.py Add ci support for godot 2023-11-02 12:50:29 +01:00
execute_util.py Update to use SPDX-License-Identifier 2023-01-19 10:33:49 +01:00
format_util.py Fix all formatting scripts and format files 2023-08-20 11:59:02 +02:00
install_requirements.py Update to use SPDX-License-Identifier 2023-01-19 10:33:49 +01:00
macos_sign.py Move BuildConfig and BuildResult into dedicated files 2023-08-24 16:17:48 +02:00
qdoc.py Update qdoc and formatting 2023-01-28 11:02:10 +01:00
Readme.md Add interactive Wallpaper example (windows only) 2023-06-29 20:31:59 +02:00
requirements.txt Add default Godot project with GDExtension 2023-08-31 14:53:59 +02:00
setup_godot.py Fix extraction of export template 2023-11-16 09:52:35 +01:00
setup.py Fix extraction of export template 2023-11-16 09:52:35 +01:00
steam_publish.py Add check if we can log in before compiling 2023-08-24 17:17:22 +02:00
update_translations.py Add SPDX license 2023-02-04 11:56:23 +01:00
util.py Add ci support for godot 2023-11-02 12:50:29 +01:00

Tools

This folder contains serveral python tools to help with development. Depending on your os you have to change the python command to python, ```python3``. Download python dependencies first:

cd Tools
python -m  pip install -r requirements.txt

setup.py

  • Installs third party c++ dependencies for all platforms
    • python3 setup.py

build.py

  • Build ScreenPlay locally
    • python3 build.py -t=release

clang_format.py

  • Invokers clang-format for all .cpp and .h files
    • python3 clang_format.py

qml_format.py

  • Calls qmlformat for all qml files
    • python3 qml_format.py

qdoc.py

  • Builds documentation for all projects into Docs/html
    • python3 qdoc.py

download_ffmpeg.py

  • Donwload ffmpeg for macos only for now
    • python3 download_ffmpeg.py

steam_publish.py

  • Upload to steam. This is needed to add some much needed output like git commit to the steam ui for selecting branches
    • python3 steam_publish.py -u xxx -p xxx