Sha256: f8436b6612a24eab56437f4dfe172081e788ce7db416eb52b87c32f06de3876b
Contents?: true
Size: 410 Bytes
Versions: 2
Compression:
Stored size: 410 Bytes
Contents
namespace :laravel do desc "Exceute a provided artisan command" task :artisan, :command_name do |t, args| # ask only runs if argument is not provided ask(:cmd, "list") command = args[:command_name] || fetch(:cmd) on roles fetch(:laravel_roles) do within release_path do execute :php, :artisan, command, *args.extras, fetch(:laravel_artisan_flags) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
capistrano-laravel-0.0.2 | lib/capistrano/tasks/artisan.rake |
capistrano-laravel-0.0.1 | lib/capistrano/tasks/artisan.rake |