Create laravel.php

This commit is contained in:
Anton Medvedev 2015-05-18 11:26:59 +07:00
parent 3ab3df21fe
commit c3ac36d78d

28
recipe/laravel.php Normal file
View File

@ -0,0 +1,28 @@
<?php
/* (c) Anton Medvedev <anton@elfet.ru>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
require_once __DIR__ . '/common.php';
// Laravel shared dirs
set('shared_dirs', ['storage']);
// Laravel writable dirs
set('writable_dirs', ['storage', 'vendor']);
/**
* Main task
*/
task('deploy', [
'deploy:prepare',
'deploy:release',
'deploy:update_code',
'deploy:vendors',
'deploy:symlink',
'cleanup',
])->desc('Deploy your project');
after('deploy', 'success');