Sha256: 418bfcd219aba8a3660d4e290061727db9ba1674163d1a0b91824a66c511e3e2

Contents?: true

Size: 814 Bytes

Versions: 1

Compression:

Stored size: 814 Bytes

Contents

# frozen_string_literal: true

task :reset_task do
  command 'echo Hello there'
  reset!
  command 'echo New command'
end

task :one_run_inside_another do
  run :local do
    run :remote do
      puts "I shouldn't execute"
    end
  end
end

task :local_run do
  run :local do
    comment 'I am a comment'
    command 'echo Hello there'
  end
end

task :remote_run do
  run :remote do
    comment 'I am a comment'
    command 'echo Hello there'
  end
end

task :nonexistent_run do
  run :nonexistent do
    comment "I shouldn't run"
  end
end

task :on_stage_task do
  deploy do
    on :launch do
      command 'echo Hello there'
    end
  end
end

task :in_path_task do
  in_path '/path' do
    command 'echo Hello there'
  end
end

task :deploy_block_task do
  deploy do
    command 'echo Hello there'
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mina-1.2.5 spec/configs/dsl.rb