project-config/jenkins/scripts/php-laravel-build.sh
K Jonathan Harker 2f03cf35e5 Clean up bashate failures
Also create tools/run-bashate.sh to wrap a find command to search for
files to run bashate on, and use it in tox.

Change-Id: I5ab07425f566a556f158a4b76b00aa35f9fb4385
2014-09-30 12:39:48 -07:00

13 lines
278 B
Bash

#!/bin/bash -xe
# Build a Laravel/PHP distribution using composer.
cat >bootstrap/environment.php <<EOF
<?php
\$env = \$app->detectEnvironment(function()
{
return 'dev';
});
EOF
curl -s https://getcomposer.org/installer | /usr/bin/php
php composer.phar install --prefer-dist