|
|
il y a 6 mois | |
|---|---|---|
| .. | ||
| .functions | il y a 2 ans | |
| modules | il y a 4 mois | |
| steam | il y a 2 ans | |
| .run-format.zsh | il y a 1 an | |
| README.md | il y a 1 an | |
| com.obsproject.Studio.json | il y a 1 an | |
| format-manifest.py | il y a 2 ans | |
| run-clang-format | il y a 2 ans | |
| run-gersemi | il y a 1 an | |
| run-swift-format | il y a 2 ans | |
build-aux folderThis folder contains:
run-clang-format which formats C/C++/ObjC/ObjC++ filesrun-gersemi which formats CMake filesrun-swift-format which formats Swift filesformat-manifest.py which formats Flatpak manifest JSON filesrun-clang-formatThis script allows to check the formatting and/or format of C/C++/ObjC/ObjC++ files and requires ZSH and a specific version of clang-format.
If the script does not find the latter it will return the required version, we provide clang-format Homebrew formulas in our homebrew-tools repo.
Example of use:
./build-aux/run-clang-format
run-gersemiThis script allows to check the formatting and/or format of the CMake files and requires ZSH and gersemi Python package.
Example of use:
./build-aux/run-gersemi
run-swift-formatThis script allows to check the formatting and/or format of the Swift files and requires ZSH and swift-format.
Example of use:
./build-aux/run-swift-format
format-manifest.pyThis script allows to check the formatting and/or format of the Flatpak manifest and its modules.
Example of use:
python3 ./build-aux/format-manifest.py com.obsproject.Studio.json
The manifest is composed of multiple files:
com.obsproject.Studio.jsonmodules folder which contains OBS Studio dependencies modulesModules are ordered/dispatched in numbered categories following a short list of rules:
Actual categories:
99-: CEF90-: Headers-only libraries that are dependencies of only OBS Studio50-: Modules that are dependencies of only OBS Studio40-: Modules that are dependencies of the 50- category30-: FFmpeg20-: Modules that are dependencies of FFmpeg10-: Modules that are dependencies of the 20- category