Sha256: 941d95e2bf17ba27af913a7be1e70f942eed8ac783acb072220947fdf5731ea1

Contents?: true

Size: 415 Bytes

Versions: 1

Compression:

Stored size: 415 Bytes

Contents

require 'rails/generators'

module Husky
  class InstallGenerator < Rails::Generators::Base

    desc "Sets up directories for Husky workflow."

    def create_new_directories
      empty_directory "app/responders"
      empty_directory "app/interactors"
      empty_directory "app/entities"
    end

    def self.source_root
      @source_root ||= File.join(File.dirname(__FILE__), 'templates')
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
husky-0.0.1 lib/husky.rb