sfw/tools/merger/sfwl/join.sh

24 lines
906 B
Bash
Raw Normal View History

cd ..
mkdir -p out
mkdir -p out/sfwl_core
mkdir -p out/sfwl_full
cd ..
cd ..
2024-01-07 12:16:17 +01:00
python tools/merger/join.py --template tools/merger/sfwl/sfwl_core.h.inl --path . --output tools/merger/out/sfwl_core/sfwl.h
python tools/merger/join.py --template tools/merger/sfwl/sfwl_core.cpp.inl --path . --output tools/merger/out/sfwl_core/sfwl.cpp
python tools/merger/join.py --template tools/merger/sfwl/sfwl_full.h.inl --path . --output tools/merger/out/sfwl_full/sfwl.h
python tools/merger/join.py --template tools/merger/sfwl/sfwl_full.cpp.inl --path . --output tools/merger/out/sfwl_full/sfwl.cpp
2024-01-20 13:15:55 +01:00
echo "Running clang format!"
clang-format --Wno-error=unknown -i tools/merger/out/sfwl_core/sfwl.h
clang-format --Wno-error=unknown -i tools/merger/out/sfwl_core/sfwl.cpp
clang-format --Wno-error=unknown -i tools/merger/out/sfwl_full/sfwl.h
clang-format --Wno-error=unknown -i tools/merger/out/sfwl_full/sfwl.cpp