Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Olivier Laviale committed Apr 13, 2014
1 parent 10d1655 commit 38aec33
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 19 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ php:
- 5.3
- 5.4
- 5.5
- 5.6

matrix:
allow_failures:
- php: 5.5
- php: 5.6

before_script:
- COMPOSER_ROOT_VERSION=dev-master composer --prefer-source --dev install
2 changes: 1 addition & 1 deletion LICENSE
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
The ICanBoogie/DateTime package is free software.
It is released under the terms of the following BSD License.

Copyright (c) 2013 by Olivier Laviale
Copyright (c) 2013-2014 by Olivier Laviale
All rights reserved.

Redistribution and use in source and binary forms, with or without modification,
Expand Down
26 changes: 10 additions & 16 deletions Makefile
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,26 +1,20 @@
install:
@if [ ! -f "composer.phar" ] ; then \
echo "Installing composer..." ; \
curl -s https://getcomposer.org/installer | php ; \
fi

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

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

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

test:
@if [ ! -d "vendor" ] ; then \
make install ; \
fi
autoload: vendor
@php composer.phar dump-autoload

test: vendor
@phpunit

doc:
@if [ ! -d "vendor" ] ; then \
make install ; \
fi

doc: vendor
@mkdir -p "docs"

@apigen \
Expand Down
3 changes: 2 additions & 1 deletion composer.json
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@
"issues": "https://github.com/ICanBoogie/DateTime/issues",
"source": "https://github.com/ICanBoogie/DateTime"
},
"minimum-stability": "dev",
"require": {
"php": ">=5.3.0"
},
"require-dev": {
"icanboogie/common": "@dev"
"icanboogie/common": "*"
},
"suggest": {
"icanboogie/common": "Allows finer exceptions to be thrown"
Expand Down

0 comments on commit 38aec33

Please sign in to comment.