mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 08:24:16 +00:00
Reorganize sources and files (#414)
* Reorganize sources * Refactor * Remove relative paths * Renames * Fix gitignore * Remove stuff * Try fixing format script * Fix format * Fix format * Fix naming script * Test format * Fix format
This commit is contained in:

committed by
GitHub

parent
6a85e62406
commit
c47206617d
11
.github/workflows/format.yml
vendored
11
.github/workflows/format.yml
vendored
@@ -11,19 +11,12 @@ jobs:
|
||||
|
||||
- name: Run clang-format
|
||||
run: |
|
||||
find LEGO1 ISLE -iname '*.h' -o -iname '*.cpp' | xargs \
|
||||
pipx run "clang-format>=17,<18" \
|
||||
--Werror \
|
||||
--dry-run \
|
||||
--style=file \
|
||||
ISLE/*.cpp ISLE/*.h \
|
||||
LEGO1/*.cpp LEGO1/*.h \
|
||||
LEGO1/3dmanager/*.cpp LEGO1/3dmanager/*.h \
|
||||
LEGO1/mxdirectx/*.cpp LEGO1/mxdirectx/*.h \
|
||||
LEGO1/mxstl/*.h \
|
||||
LEGO1/realtime/*.cpp LEGO1/realtime/*.h \
|
||||
LEGO1/tgl/*.h \
|
||||
LEGO1/tgl/d3drm/*.cpp LEGO1/tgl/d3drm/*.h \
|
||||
LEGO1/viewmanager/*.cpp LEGO1/viewmanager/*.h
|
||||
-i
|
||||
|
||||
python-format:
|
||||
runs-on: ubuntu-latest
|
||||
|
10
.github/workflows/naming.yml
vendored
10
.github/workflows/naming.yml
vendored
@@ -22,8 +22,14 @@ jobs:
|
||||
run: |
|
||||
python3 tools/ncc/ncc.py \
|
||||
--clang-lib ${{ env.LLVM_PATH }}/lib/libclang.so \
|
||||
--recurse \
|
||||
--style tools/ncc/ncc.style \
|
||||
--skip tools/ncc/skip.yml \
|
||||
--definition WINAPI FAR BOOL CALLBACK HWND__=HWND \
|
||||
--include util \
|
||||
--path LEGO1
|
||||
--include \
|
||||
util \
|
||||
LEGO1 \
|
||||
LEGO1/omni/include \
|
||||
LEGO1/lego/legoomni/include \
|
||||
LEGO1/lego/sources \
|
||||
--path LEGO1/omni LEGO1/lego/legoomni
|
||||
|
Reference in New Issue
Block a user