Преглед на файлове

Refactor: Apply C++ conventions to revision.h.in

Richard преди 10 години
родител
ревизия
e89c811bd1
променени са 2 файла, в които са добавени 14 реда и са изтрити 7 реда
  1. 7 0
      .editorconfig
  2. 7 7
      revision.h.in

+ 7 - 0
.editorconfig

@@ -8,3 +8,10 @@ insert_final_newline = true
 trim_trailing_whitespace = true
 trim_trailing_whitespace = true
 indent_size = 2
 indent_size = 2
 indent_style = space
 indent_style = space
+
+[*.h.in]
+end_of_line = lf
+insert_final_newline = true
+trim_trailing_whitespace = true
+indent_size = 4
+indent_style = space

+ 7 - 7
revision.h.in

@@ -1,7 +1,7 @@
-#ifndef ASSIMP_REVISION_H_INC
-#define ASSIMP_REVISION_H_INC
-
-#define GitVersion 0x@GIT_COMMIT_HASH@
-#define GitBranch "@GIT_BRANCH@"
-
-#endif // ASSIMP_REVISION_H_INC
+#ifndef ASSIMP_REVISION_H_INC
+#define ASSIMP_REVISION_H_INC
+
+#define GitVersion 0x@GIT_COMMIT_HASH@
+#define GitBranch "@GIT_BRANCH@"
+
+#endif // ASSIMP_REVISION_H_INC