docs: update

This commit is contained in:
Dylan Araps 2019-08-03 00:35:08 +03:00
parent b8d5c897d2
commit 86b94454c4
1 changed files with 8 additions and 0 deletions

View File

@ -17,6 +17,7 @@ More information: <https://getkiss.org/pages/package-system/>
* [Committing changes](#committing-changes)
* [Pull requests](#pull-requests)
* [Linting](#linting)
* [Code style](#code-style)
<!-- vim-markdown-toc -->
@ -66,3 +67,10 @@ Ensure that the package builds successfully on your system before creating a pul
## Linting
All package `build` and `post-install` scripts are subject to checks using `shellcheck`. Packages must pass the linter to be accepted into the repository. Exceptions can be made using `shellcheck disable=SCXXXX` with good reason.
## Code style
- Indentation should be 4 spaces.
- Keep variables lowercase unless they're environment variables.
- Use `#!/bin/sh -e`.
- Use `/usr` as the prefix.