Browse Source

Create CONTRIBUTING.md

Marco Bambini 8 years ago
parent
commit
220cce978c
1 changed files with 17 additions and 0 deletions
  1. 17 0
      CONTRIBUTING.md

+ 17 - 0
CONTRIBUTING.md

@@ -0,0 +1,17 @@
+Everyone is welcome to contribute to Gravity. Contributing doesn’t just mean submitting pull requests,
+there are many different ways for you to get involved, including reporting bugs, add new functionalities
+or just participating in the project.
+
+##Where to make changes
+Core libraries and documentation is probably the areas that need major contribution.
+Any change to the core VM or other parts of the compiler are welcomed.
+
+##Code style and syntax rules
+Looking at the Gravity source code I think you can easely follow the same coding style and syntax rule.
+Private functions usually don't begin with a gravity_ prefix and are marked as static.
+Feel free to expand this section with a more formal description of the syntax rules.
+
+##Testing rules
+If you fix a bug or if you add a new functionality then a unit-test is required.
+A unit-test is a single source code file that is able to run under the unittest executable file.
+You are free to test your functionalities/fixes into a single unit-test file or split the test in more files.