sfw/tools/merger/join.sh

25 lines
1008 B
Bash
Raw Normal View History

2024-01-04 22:59:17 +01:00
mkdir -p out
2024-01-05 22:35:05 +01:00
mkdir -p out/core
2024-01-05 22:23:50 +01:00
mkdir -p out/full
2024-01-04 22:59:17 +01:00
cd ..
cd ..
2024-01-05 22:35:05 +01:00
python tools/merger/join.py --template tools/merger/sfw_core.h.inl --path . --output tools/merger/out/core/sfw.h
python tools/merger/join.py --template tools/merger/sfw_core.cpp.inl --path . --output tools/merger/out/core/sfw.cpp
2024-01-05 22:23:50 +01:00
python tools/merger/join.py --template tools/merger/sfw_full.h.inl --path . --output tools/merger/out/full/sfw.h
python tools/merger/join.py --template tools/merger/sfw_full.cpp.inl --path . --output tools/merger/out/full/sfw.cpp
python tools/merger/join.py --template tools/merger/sfw_3rd_full.x.inl --path . --output tools/merger/out/full/sfw_3rd.m
2024-01-13 19:04:01 +01:00
echo "Running clang format!"
clang-format --Wno-error=unknown -i tools/merger/out/core/sfw.h
clang-format --Wno-error=unknown -i tools/merger/out/core/sfw.cpp
clang-format --Wno-error=unknown -i tools/merger/out/full/sfw.h
clang-format --Wno-error=unknown -i tools/merger/out/full/sfw.cpp
#clang-format --Wno-error=unknown -i tools/merger/out/full/sfw_3rd.h