Skip to content

Normalized code style using astyle#161

Open
thorkill wants to merge 4 commits intomasterfrom
devel/thkr-code-cleanup
Open

Normalized code style using astyle#161
thorkill wants to merge 4 commits intomasterfrom
devel/thkr-code-cleanup

Conversation

@thorkill
Copy link
Copy Markdown
Owner

This PR does not change any functionality. From now on we will format the source code (at the moment only *.c files) using astyle tool.

Please note, that so many changes to the style will make your merges fail. Try to merge asap if you want to contribute.

Steps to apply before you commit to this repository:

  1. Install astyle in version >= 3.1 and generate Makefile which supports styling (needed on the first run):
    eresi $> ./configure

  2. Apply our styling guide
    eresi $> make astyle

or if you are on bsd: gmake astyle

  1. Recompile to make sure everything is working as expected

thorkill added 4 commits July 9, 2018 20:43
Nobody can remember what coding style each project has. Let people enjoy
the coding and leave formatting to dedicated tools.

Before you commit use:

 $> make astyle

To cleanup your code. You will need to run ./configure to enable this feature.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant