mina

Migrating from 0.3.x to 1.0

DSL

old

new

Other commands have been removed!

Remove :environment dependency on all your tasks!

task deploy: :environment do
  ...
--->
task :deploy do
  ...

Setting variables

same

new

Deploy variables

For example:

set :shared_dirs, fetch(:shared_dirs, []).push('somedir')
set :shared_files, fetch(:shared_files, []).push('config/database.yml', 'config/secrets.yml')

All *_path variables (:current_path, :shared_path, …) now include :deploy_to

Using new mina on old projects