1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-09-14 22:42:34 +02:00
ScreenPlay/Tools/Readme.md

32 lines
1.0 KiB
Markdown
Raw Permalink Normal View History

2021-05-21 12:02:16 +02: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:
2021-09-04 12:13:19 +02:00
``` bash
cd Tools
python -m pip install -r requirements.txt
```
2021-05-21 12:02:16 +02:00
#### setup.py
2021-09-04 12:13:19 +02:00
- Installs third party c++ dependencies for all platforms
- ```python3 setup.py```
2021-05-21 12:02:16 +02:00
#### build.py
- Build ScreenPlay locally
2021-09-04 12:13:19 +02:00
- ```python3 build.py -t=release```
2021-05-21 12:02:16 +02:00
#### clang_format.py
- Invokers clang-format for all .cpp and .h files
2021-09-04 12:13:19 +02:00
- ```python3 clang_format.py ```
#### qml_format.py
- Calls qmlformat for all qml files
- ```python3 qml_format.py```
2021-05-21 12:02:16 +02:00
#### qdoc.py
- Builds documentation for all projects into Docs/html
2021-09-04 12:13:19 +02:00
- ```python3 qdoc.py```
2021-05-21 12:02:16 +02:00
#### download_ffmpeg.py
- Donwload ffmpeg for macos only for now
2021-09-04 12:13:19 +02:00
- ```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```