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