forked from fmtlib/fmt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'upstream' of github.com:kassane/fmt into zig-pkg
- Loading branch information
Showing
28 changed files
with
1,117 additions
and
796 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: lint | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- '**.h' | ||
- '**.cc' | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
format_code: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Install clang-format | ||
uses: aminya/setup-cpp@v1 | ||
with: | ||
clangformat: 17.0.5 | ||
|
||
- name: Run clang-format | ||
run: | | ||
find include src -name '*.h' -o -name '*.cc' | xargs clang-format -i -style=file -fallback-style=none | ||
git diff --exit-code |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,27 @@ | ||
*.a | ||
*.so* | ||
*.xcodeproj | ||
*~ | ||
.vscode/ | ||
.vs/ | ||
|
||
*.iml | ||
.idea/ | ||
.externalNativeBuild/ | ||
.gradle/ | ||
gradle/ | ||
gradlew* | ||
local.properties | ||
build/ | ||
support/.cxx | ||
|
||
bin/ | ||
/_CPack_Packages | ||
/CMakeScripts | ||
/Testing | ||
/_CPack_Packages | ||
/doc/doxyxml | ||
/doc/html | ||
/doc/node_modules | ||
virtualenv | ||
/Testing | ||
/install_manifest.txt | ||
*~ | ||
*.a | ||
*.so* | ||
*.xcodeproj | ||
*.zip | ||
cmake_install.cmake | ||
CPack*.cmake | ||
fmt-*.cmake | ||
CTestTestfile.cmake | ||
CMakeCache.txt | ||
CMakeFiles | ||
CPack*.cmake | ||
CTestTestfile.cmake | ||
FMT.build | ||
Makefile | ||
run-msbuild.bat | ||
bin/ | ||
build/ | ||
cmake_install.cmake | ||
fmt-*.cmake | ||
fmt.pc | ||
|
||
zig-cache/ | ||
zig-out/ | ||
zig-out/ | ||
virtualenv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.