DRAMSys.astylerc, doc and install script updated

This commit is contained in:
Éder F. Zulian
2018-04-09 08:34:47 +02:00
parent d02e380994
commit 2fc774eece
3 changed files with 29 additions and 1 deletions

View File

@@ -1 +1,10 @@
--style=attach --style=kr
--indent=spaces=4
--align-pointer=name
--align-reference=name
--convert-tabs
--attach-namespaces
--max-code-length=80
--max-instatement-indent=100
--pad-header
--pad-oper

View File

@@ -17,6 +17,18 @@ limit, for example), just do it.
Since DRAMSys is a multi-language project, each with its own peculiarities, we Since DRAMSys is a multi-language project, each with its own peculiarities, we
describe the preferred coding style for them in separate. describe the preferred coding style for them in separate.
## Tools
```bash
sudo apt-get -y install astyle
sudo apt-get -y install uncrustify
sudo apt-get -y install clang-format
```
**Hint:**
You can use [utils/install.sh](./utils/install.sh) in order to install
dependencies. First read and understand the script then execute it. Type your
password if required.
## DRAMSys Coding Style for C++ Code ## DRAMSys Coding Style for C++ Code
@@ -73,3 +85,8 @@ describe the preferred coding style for them in separate.
[Qt Documentation - Beautifying Source Code](http://doc.qt.io/qtcreator/creator-beautifier.html) [Qt Documentation - Beautifying Source Code](http://doc.qt.io/qtcreator/creator-beautifier.html)
[Artistic Style 3.1 - A Free, Fast, and Small Automatic Formatter for C, C++, C++/CLI, ObjectiveC, C#, and Java Source Code](http://astyle.sourceforge.net/astyle.html) [Artistic Style 3.1 - A Free, Fast, and Small Automatic Formatter for C, C++, C++/CLI, ObjectiveC, C#, and Java Source Code](http://astyle.sourceforge.net/astyle.html)
[Qt Coding Style](https://wiki.qt.io/Qt_Coding_Style)
[Qt Coding Conventions](https://wiki.qt.io/Coding_Conventions)

View File

@@ -56,3 +56,5 @@ sudo apt-get -y install libqt5core5a
sudo apt-get -y install qtcreator sudo apt-get -y install qtcreator
sudo apt-get -y install qt5-default sudo apt-get -y install qt5-default
sudo apt-get -y install astyle sudo apt-get -y install astyle
sudo apt-get -y install uncrustify
sudo apt-get -y install clang-format