Skip to content

Commit

Permalink
Merge pull request #36 from henriquemoody/contributing
Browse files Browse the repository at this point in the history
Create "CONTRIBUTING.md" file
  • Loading branch information
henriquemoody committed Jan 15, 2015
2 parents f2fa9d3 + ddc371c commit 0a111a8
Showing 1 changed file with 54 additions and 0 deletions.
54 changes: 54 additions & 0 deletions CONTRIBUTING.md
@@ -0,0 +1,54 @@
# Contributing to Respect\Template

Contributions to Respect\Template are always welcome. You make our lives easier by
sending us your contributions through [GitHub pull requests](http://help.github.com/pull-requests).

Pull requests for bug fixes must be based on the current stable branch whereas
pull requests for new features must be based on `master`.

Due to time constraints, we are not always able to respond as quickly as we
would like. Please do not take delays personal and feel free to remind us here,
on IRC, or on Gitter if you feel that we forgot to respond.

## Using Respect\Template From a Git Checkout

The following commands can be used to perform the initial checkout of Respect\Template:

```shell
git clone git://github.com/Respect/Template.git
cd Template
```

Retrieve Respect\Template's dependencies using [Composer](http://getcomposer.org/):

```shell
composer install
```

## Running Tests

After run `composer install` on the library's root directory you must run PHPUnit.

### Linux

You can test the project using the commands:
```shell
$ vendor/bin/phpunit
```

### Windows

You can test the project using the commands:
```shell
> vendor\bin\phpunit
```

No test should fail.

You can tweak the PHPUnit's settings by copying `phpunit.xml.dist` to `phpunit.xml`
and changing it according to your needs.

## Standards

We are trying to follow the [PHP-FIG](http://www.php-fig.org)'s standards, so
when you send us a pull request, be sure you are following them.

0 comments on commit 0a111a8

Please sign in to comment.