Sha256: fcdd8156ba823ec25d7ddaf274a937cc5e76c5a6d5285037ed9bef98bc9b1f29

Contents?: true

Size: 463 Bytes

Versions: 10

Compression:

Stored size: 463 Bytes

Contents

desc 'Creates a sample config file.'
task :init do
  name = Rake.application.name
  config_file = Rake.application.rakefile

  unless File.exist?(config_file)
    puts "! You already have #{config_file}."
    exit 8
  end

  outfile = './config/deploy.rb'
  require 'fileutils'
  FileUtils.mkdir_p './config'
  FileUtils.cp Mina.root_path('data/deploy.rb'), outfile

  puts "-----> Created #{outfile}"
  puts "Edit this file, then run `#{name} setup` after."
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
mina-1.2.3 tasks/mina/install.rb
mina-1.2.2 tasks/mina/install.rb
mina-1.2.1 tasks/mina/install.rb
mina-1.2.0 tasks/mina/install.rb
mina-1.1.1 tasks/mina/install.rb
mina-1.1.0 tasks/mina/install.rb
mina-1.0.7 tasks/mina/install.rb
mina-1.0.6 tasks/mina/install.rb
mina-1.0.5 tasks/mina/install.rb
mina-1.0.0.beta2 tasks/mina/install.rb