2f03cf35e5
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
13 lines
278 B
Bash
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
|