Add clang-format
This commit is contained in:
parent
5501128100
commit
2b80bf5bed
1 changed files with 0 additions and 18 deletions
|
@ -1,11 +1,4 @@
|
|||
steps:
|
||||
- name: Format-Code
|
||||
image: alpine
|
||||
commands:
|
||||
- apk add --no-cache g++ libc-dev git clang clang-extra-tools
|
||||
- echo "Formatting project..."
|
||||
- find ./ -type f -name "*.cpp" -o -name "*.h" | xargs clang-format -i
|
||||
|
||||
- name: Build
|
||||
image: alpine
|
||||
commands:
|
||||
|
@ -58,17 +51,6 @@ steps:
|
|||
- Build
|
||||
- Test-Debian
|
||||
|
||||
- name: push-commit
|
||||
image: appleboy/drone-git-push
|
||||
settings:
|
||||
remote_name: origin
|
||||
commit_message: "Apply clang-format changes [skip ci]"
|
||||
commit: true
|
||||
ssh_key:
|
||||
from_secret: PUSH_SSH
|
||||
depends_on:
|
||||
- Confirm-Build
|
||||
|
||||
- name: Release
|
||||
image: plugins/gitea-release
|
||||
settings:
|
||||
|
|
Loading…
Add table
Reference in a new issue