Sha256: a8107aa5c603c5bb12993bd77d8241ff24cf278c8a269a9d0e2c16a8634649a9

Contents?: true

Size: 362 Bytes

Versions: 1

Compression:

Stored size: 362 Bytes

Contents

require 'dk-dumpdb/task/internal_task'

module Dk::Dumpdb::Task

  class Setup
    include Dk::Dumpdb::Task::InternalTask

    desc "(dk-dumpdb) setup a script run"

    def run!
      source_cmd!(params['script'].dump_cmd{ "mkdir -p #{source.output_dir}" })
      target_cmd!(params['script'].restore_cmd{ "mkdir -p #{target.output_dir}" })
    end

  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dk-dumpdb-0.1.0 lib/dk-dumpdb/task/setup.rb