Sha256: 710a76378c451d85fe485ea8256aa8eb5b6f5e55284a0de47e9adb07343b1807

Contents?: true

Size: 1.24 KB

Versions: 10

Compression:

Stored size: 1.24 KB

Contents

In order to keep the Curly code base nice and tidy, please observe these best practises when making contributions:

- Add tests for all your code. Make sure the tests are clear and fail with proper error messages. It's a good idea to let your test fail in order to review whether the message makes sense; then make the test pass.
- Document any unclear things in the code. Even better, don't make the code do unclear things.
- Use the coding style already present in the code base.
- Make your commit messages precise and to the point. Add a short summary (50 chars max) followed by a blank line and then a longer description, if necessary, e.g.
  
  > Make invalid references raise an exception
  >
  > In order to avoid nasty errors when doing stuff, make the Curly compiler
  > fail early when an invalid reference is encountered.


Before making a contribution, you should make sure to understand what Curly is and isn't:

- The template language will never be super advanced: one of the primary use cases for Curly is to allow end users to mess around with Curly templates and have them safely compiled and rendered on a server. As such, the template language will always be as simple as possible.
- The template language is declarative, and is going to stay that way.

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
curly-templates-2.1.1 CONTRIBUTING.md
curly-templates-2.1.0 CONTRIBUTING.md
curly-templates-2.1.0.beta2 CONTRIBUTING.md
curly-templates-2.1.0.beta1 CONTRIBUTING.md
curly-templates-2.0.1 CONTRIBUTING.md
curly-templates-2.0.0 CONTRIBUTING.md
curly-templates-2.0.0.beta1 CONTRIBUTING.md
curly-templates-1.0.1 CONTRIBUTING.md
curly-templates-1.0.0 CONTRIBUTING.md
curly-templates-1.0.0rc1 CONTRIBUTING.md