From 117ed3294b9fcb23de4fa831660113f477c0ff3d Mon Sep 17 00:00:00 2001 From: Danny Garcia Date: Mon, 9 Jun 2014 18:03:08 -0400 Subject: [PATCH 1/2] Update composer.json Modified composer.json away from laravel defaults to be more on brand. - Specified support locations - Issues - Source - Added license shorthand as defined by http://spdx.org - Added homepage - Added keywords - Added name - Added description --- composer.json | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 76b62113107c..916c5b6f25dc 100755 --- a/composer.json +++ b/composer.json @@ -1,7 +1,13 @@ { - "name": "laravel/laravel", - "description": "The Laravel Framework.", - "keywords": ["framework", "laravel"], + "name": "snipe/snipe-it", + "description": "A free open source IT asset/license management system built in PHP on Laravel 4.1 and Bootstrap 3.", + "keywords": ["framework", "laravel", "assets", "IT", "management"], + "homepage": "http://snipeitapp.com/", + "license": "AGPL-3.0", + "support": { + "issues": "https://github.com/snipe/snipe-it/issues", + "source": "https://github.com/snipe/snipe-it" + }, "require": { "laravel/framework": "4.1.*", "cartalyst/sentry": "2.0.*", From 4271f5265d25654b00b9f03cbb5a49f3c27a8adf Mon Sep 17 00:00:00 2001 From: Danny Garcia Date: Mon, 9 Jun 2014 18:19:22 -0400 Subject: [PATCH 2/2] Update .travis.yml Added composer validation to fail fast on travis build instead of going directly to install. --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 80c97cc6f86b..69f78a1854a2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,6 +18,7 @@ before_script: - cp app/config/production/database.example.php app/config/database.php - cp app/config/production/mail.example.php app/config/mail.php - php composer.phar self-update + - php composer.phar validate - php composer.phar install --prefer-source --no-interaction --dev - php artisan key:generate - php artisan migrate:install @@ -31,4 +32,4 @@ script: phpunit # configure notifications (email, IRC, campfire etc) notifications: - slack: snipe:F6LWbfP6vhr3aRBoeARFG6Ti \ No newline at end of file + slack: snipe:F6LWbfP6vhr3aRBoeARFG6Ti