Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
IP
elsa
Commits
47915505
Commit
47915505
authored
Dec 06, 2019
by
Jens Petit
Browse files
Update CONTRIBUTING.md with clang-format version
parent
7004ac58
Pipeline
#191255
passed with stages
in 8 minutes and 6 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
CONTRIBUTING.md
View file @
47915505
...
@@ -50,9 +50,10 @@ We use the tool `clang-format` to autoformat our code with the [given style
...
@@ -50,9 +50,10 @@ We use the tool `clang-format` to autoformat our code with the [given style
file
](
.clang-format
)
. Please make sure that your code is formatted accordingly, otherwise the CI
file
](
.clang-format
)
. Please make sure that your code is formatted accordingly, otherwise the CI
will fail in the first stage. You can either execute
will fail in the first stage. You can either execute
```
```
find elsa/ -name '*.h' -or -name '*.hpp' -or -name '*.cpp' | xargs clang-format -i -style=file $1
find elsa/ -name '*.h' -or -name '*.hpp' -or -name '*.cpp' | xargs clang-format
-8
-i -style=file $1
```
```
in the root folder, setup a git hook or integrate
`clang-format`
into your IDE.
in the root folder, setup a git hook or integrate
`clang-format`
into your IDE. Note that we
currently use version 8.0.0, different versions might produce errors.
## Linting
## Linting
We use
`clang-tidy`
with the enabled checks specified in
[
the configuration file
](
.clang-tidy
)
. Note
We use
`clang-tidy`
with the enabled checks specified in
[
the configuration file
](
.clang-tidy
)
. Note
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment