Sha256: 630792c02af3cc5123f3a85ba68848e63b5fa114593eab77fd042982fde3b74a

Contents?: true

Size: 464 Bytes

Versions: 8

Compression:

Stored size: 464 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

8 entries across 8 versions & 1 rubygems

Version Path
mina-1.0.4 tasks/mina/install.rb
mina-1.0.3 tasks/mina/install.rb
mina-1.0.2 tasks/mina/install.rb
mina-1.0.0 tasks/mina/install.rb
mina-1.0.0.rc2 tasks/mina/install.rb
mina-1.0.0.beta5 tasks/mina/install.rb
mina-1.0.0.beta4 tasks/mina/install.rb
mina-1.0.0.beta3 tasks/mina/install.rb