File: DEVELOPERS

package info (click to toggle)
seed-webkit2 4.0.0+20161014+6c77960+dfsg1-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 2,760 kB
  • sloc: ansic: 25,104; makefile: 1,023; xml: 206; python: 173; sh: 46
file content (20 lines) | stat: -rw-r--r-- 632 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
=== DEVELOPERS ===

==== Coding Style ====

To contribute to seed, the developers needs to be aware of some coding style rules.

It's basically based on the coding style from Mozilla [https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Coding_Style] with
a few differences.

So, tl:dl:
    * Use four spaces to indent.
    * Indent after brakets
    * Pointers always on left of var name, glues to the type.


To ease the developer's life, there's a .clang-format to autoformat the source code. Developers are invited to used that tool
before submitting a patch.

To use that tool, call:
    clang-format -i filename.c