瀏覽代碼

[godot] Use our .clang-format.

Mario Zechner 2 年之前
父節點
當前提交
a7a2d844e1
共有 2 個文件被更改,包括 3 次插入1 次删除
  1. 2 1
      .gitignore
  2. 1 0
      spine-godot/build/setup.sh

+ 2 - 1
.gitignore

@@ -177,4 +177,5 @@ spine-cocos2dx/example/build-macos
 spine-godot/logs
 !spine-godot/build
 spine-ts/spine-ts.zip
-*.d
+*.d
+spine-godot/.clang-format

+ 1 - 0
spine-godot/build/setup.sh

@@ -23,6 +23,7 @@ git clone --depth 1 https://github.com/godotengine/godot.git -b $branch
 if [ $dev = "true" ]; then
 	cp -r .idea godot
 	cp build/custom.py godot
+	cp ../formatters/.clang-format .
 	rm -rf example/.import
 	rm -rf example/.godot