Skip to content

Commit

Permalink
Tidying
Browse files Browse the repository at this point in the history
  • Loading branch information
Olivier Laviale committed Nov 7, 2014
1 parent e844906 commit 2d7ea2f
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 30 deletions.
2 changes: 1 addition & 1 deletion .gitattributes
Expand Up @@ -2,4 +2,4 @@ build/ export-ignore
docs/ export-ignore
tests/ export-ignore
.travis.yml export-ignore
phpunit.xml.dist export-ignore
phpunit.xml.dist export-ignore
3 changes: 1 addition & 2 deletions .gitignore
Expand Up @@ -3,6 +3,5 @@ assets/brickrouge-responsive-uncompressed.css
assets/brickrouge-uncompressed.css
assets/brickrouge-uncompressed.js
composer.lock
composer.phar
docs
vendor
vendor
8 changes: 5 additions & 3 deletions .travis.yml
Expand Up @@ -4,10 +4,12 @@ php:
- 5.4
- 5.5
- 5.6
- hhvm

matrix:
allow_failures:
- php: 5.6
- php: hhvm

install:
make vendor
before_script:
- composer self-update
- composer install --no-interaction --prefer-source --dev
2 changes: 1 addition & 1 deletion LICENSE
Expand Up @@ -27,4 +27,4 @@ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
17 changes: 6 additions & 11 deletions Makefile
Expand Up @@ -114,18 +114,14 @@ PACKAGE_NAME = "Brickrouge"
usage:
@echo "test: Runs the test suite.\ndoc: Creates the documentation.\nclean: Removes the documentation, the dependencies and the Composer files."

composer.phar:
@echo "Installing composer..."
@curl -s https://getcomposer.org/installer | php
vendor:
@composer install --dev

vendor: composer.phar
@php composer.phar install --prefer-source --dev

update: vendor
@php composer.phar update --prefer-source --dev
update:
@composer update --dev

autoload: vendor
@php composer.phar dump-autoload
@composer dump-autoload

test: vendor
@phpunit
Expand All @@ -144,6 +140,5 @@ clean:
@rm -fR docs
@rm -fR vendor
@rm -f composer.lock
@rm -f composer.phar

.PHONY: build watch
.PHONY: build watch
16 changes: 5 additions & 11 deletions README.md
Expand Up @@ -517,16 +517,10 @@ and [icanboogie/errors](https://packagist.org/packages/icanboogie/errors).

## Installation

The recommended way to install this package is through [composer](http://getcomposer.org/).
Create a `composer.json` file and run `php composer.phar install` command to install it:
The recommended way to install this package is through [composer](http://getcomposer.org/):

```json
{
"minimum-stability": "dev",
"require": {
"brickrouge/brickrouge": "2.x"
}
}
```
$ composer require brickrouge/brickrouge:~2.1
```


Expand All @@ -538,7 +532,7 @@ Create a `composer.json` file and run `php composer.phar install` command to ins
The package is [available on GitHub](https://github.com/Brickrouge/Brickrouge), its repository can
be cloned with the following command line:

$ git clone git://github.com/Brickrouge/Brickrouge.git
$ git clone https://github.com/Brickrouge/Brickrouge.git



Expand Down Expand Up @@ -585,4 +579,4 @@ Brickrouge is licensed under the New BSD License - See the [LICENSE](LICENSE) fi
[Searchbox]: http://brickrouge.org/docs/class-Brickrouge.Searchbox.html
[Text]: http://brickrouge.org/docs/class-Brickrouge.Text.html

[ICanBoogie]: http://icanboogie.org/
[ICanBoogie]: http://icanboogie.org/
2 changes: 1 addition & 1 deletion bootstrap.php
Expand Up @@ -63,4 +63,4 @@
if (!defined('Brickrouge\CHARSET'))
{
define('Brickrouge\CHARSET', 'utf-8');
}
}

0 comments on commit 2d7ea2f

Please sign in to comment.