Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
LEFEBVREJP email
radix
Commits
f28d7334
Commit
f28d7334
authored
Jan 14, 2017
by
LEFEBVREJP email
Browse files
Adding astyle options file and contribution formatting section.
parent
ae9beb2b
Changes
2
Hide whitespace changes
Inline
Side-by-side
CONTRIBUTING.md
View file @
f28d7334
...
...
@@ -61,3 +61,10 @@ Branch contribution_guide set up to track remote branch contribution_guide from
```
The remote server will return a quick link for creating a merge request if one hasn't already been created for this branch.
# Formatting
The use of the utility
[
astyle
](
http://astyle.sourceforge.net/
)
makes for a quick processing of the desired format.
From the root directory running the following command will load default options for style formatting.
```
astyle --options=options.astyle *.cc *.hh
```
options.astyle
0 → 100644
View file @
f28d7334
--suffix=none
--lineend=linux
--indent=spaces=4
--convert-tabs
--style=bsd
--recursive
--exclude=testframework
--exclude=googletest
--exclude=TriBITS
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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