Sha256: 7b818482dcb495101a2971ca78bb500d57c51889f14b0dad8066272995dc6579

Contents?: true

Size: 515 Bytes

Versions: 4

Compression:

Stored size: 515 Bytes

Contents

require 'fileutils'
require 'active_support/core_ext/string'
require 'thor'
require 'bundler'

class Forger::Sequence < Thor::Group
  include Thor::Actions
  # include Forger::Helper

  def self.source_root
    template = ENV['TEMPLATE'] || 'default'
    File.expand_path("../../templates/#{template}", __FILE__)
  end

private
  def copy_project
    puts "Creating new forger project called #{project_name}."
    directory ".", project_name
  end

  def git_installed?
    system("type git > /dev/null")
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
forger-3.0.2 lib/forger/sequence.rb
forger-3.0.1 lib/forger/sequence.rb
forger-3.0.0 lib/forger/sequence.rb
forger-2.0.5 lib/forger/sequence.rb