Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Style Dev Update #1980

Merged
merged 4 commits into from Jun 15, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
@@ -1,6 +1,6 @@
# Source Code Styling

This directory contains scripts and a config file for auto formatting source code according to the OpenFrameworks coding style guidelines:
This directory contains scripts and a config file for auto formatting source code according to the openFrameworks coding style guidelines:
https://github.com/openframeworks/openFrameworks/wiki/oF-code-style

The formatter used is `uncrustify`: http://uncrustify.sourceforge.net/
Expand Down
2 changes: 1 addition & 1 deletion scripts/dev/style/core_header.txt
@@ -1 +1 @@
// openFrameworks is released under the MIT License. See libs/_Licence.txt
// openFrameworks | MIT License - See LICENSE.md
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have to say I like one-line format better, wastes much less space.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you. the github editor/viewer informs me there's no newline at the end of the file - this would be good to have I think.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. Corrected.

3 changes: 2 additions & 1 deletion scripts/dev/style/example_header_template.txt
@@ -1,3 +1,4 @@
// name: Example Name
// summary: short description of the example
// author: Your Name <email@address.com> http://website.com
// version: release date and version
// author: Your Name <email@address.com> http://website.com