Sha256: 92427abe76f2d10e150a04f9688b29f1361882103d24db8d8a3f3ee270f5ebc2

Contents?: true

Size: 534 Bytes

Versions: 5

Compression:

Stored size: 534 Bytes

Contents

require 'fileutils'
require 'colorize'
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

5 entries across 5 versions & 1 rubygems

Version Path
forger-2.0.4 lib/forger/sequence.rb
forger-2.0.3 lib/forger/sequence.rb
forger-2.0.2 lib/forger/sequence.rb
forger-2.0.1 lib/forger/sequence.rb
forger-2.0.0 lib/forger/sequence.rb