mirror of
https://github.com/Naios/continuable.git
synced 2025-12-06 08:46:44 +08:00
Update editor, formatting and CI files
This commit is contained in:
parent
bd9cf93f74
commit
3809af9092
@ -2,3 +2,8 @@ BasedOnStyle: LLVM
|
||||
|
||||
PointerAlignment: Left
|
||||
IndentCaseLabels: true
|
||||
AllowShortFunctionsOnASingleLine: false
|
||||
AllowShortCaseLabelsOnASingleLine: false
|
||||
AlwaysBreakTemplateDeclarations: true
|
||||
BinPackArguments: true
|
||||
FixNamespaceComments: true
|
||||
|
||||
11
.editorconfig
Normal file
11
.editorconfig
Normal file
@ -0,0 +1,11 @@
|
||||
[*]
|
||||
charset = utf-8
|
||||
indent_size = 2
|
||||
tab_width = 2
|
||||
indent_style = space
|
||||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
||||
max_line_length = 80
|
||||
|
||||
[*.{cpp,hpp}]
|
||||
charset = latin1
|
||||
36
.gitattributes
vendored
Normal file
36
.gitattributes
vendored
Normal file
@ -0,0 +1,36 @@
|
||||
#sources
|
||||
*.c text
|
||||
*.cc text
|
||||
*.cxx text
|
||||
*.cpp text
|
||||
*.c++ text
|
||||
*.hpp text
|
||||
*.h text
|
||||
*.h++ text
|
||||
*.hh text
|
||||
|
||||
# Compiled Object files
|
||||
*.slo binary
|
||||
*.lo binary
|
||||
*.o binary
|
||||
*.obj binary
|
||||
|
||||
# Precompiled Headers
|
||||
*.gch binary
|
||||
*.pch binary
|
||||
|
||||
# Compiled Dynamic libraries
|
||||
*.so binary
|
||||
*.dylib binary
|
||||
*.dll binary
|
||||
|
||||
# Compiled Static libraries
|
||||
*.lai binary
|
||||
*.la binary
|
||||
*.a binary
|
||||
*.lib binary
|
||||
|
||||
# Executables
|
||||
*.exe binary
|
||||
*.out binary
|
||||
*.app binary
|
||||
4
.gitignore
vendored
4
.gitignore
vendored
@ -50,7 +50,3 @@ bld/
|
||||
|
||||
doc/doxygen/
|
||||
|
||||
format.sh
|
||||
push.sh
|
||||
commit.sh
|
||||
pull.sh
|
||||
|
||||
24
appveyor.yml
Normal file
24
appveyor.yml
Normal file
@ -0,0 +1,24 @@
|
||||
image:
|
||||
- Visual Studio 2017
|
||||
|
||||
configuration:
|
||||
- Debug
|
||||
|
||||
platform:
|
||||
- x64
|
||||
|
||||
clone_script:
|
||||
- cmd: git clone -q --branch=%APPVEYOR_REPO_BRANCH% https://github.com/%APPVEYOR_REPO_NAME%.git %APPVEYOR_BUILD_FOLDER%
|
||||
- cmd: cd %APPVEYOR_BUILD_FOLDER%
|
||||
- cmd: git checkout -qf %APPVEYOR_REPO_COMMIT%
|
||||
- cmd: git submodule update --init --recursive
|
||||
|
||||
before_build:
|
||||
- cmd: cmake -H. -Bbuild -A%PLATFORM%
|
||||
|
||||
build_script:
|
||||
- cmd: cmake --build build --config %CONFIGURATION% --target ALL_BUILD -- /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /verbosity:minimal /maxcpucount:2 /nologo
|
||||
|
||||
test_script:
|
||||
- cmd: cd build
|
||||
- cmd: ctest -C %CONFIGURATION% -V .
|
||||
Loading…
x
Reference in New Issue
Block a user