Sha256: a3d231c451719e5658877eaac2fb058f61980f197a5a3f8152c4cc5ecee92e60

Contents?: true

Size: 469 Bytes

Versions: 2

Compression:

Stored size: 469 Bytes

Contents

module Adhearsion
  module Generators
    class AppGenerator < Generator

      BASEDIRS = %w( config lib script )

      def setup_project
        self.destination_root = @generator_name
        BASEDIRS.each { |dir| directory dir }
        template "Gemfile.erb", "Gemfile"
        copy_file "gitignore", ".gitignore"
        copy_file "Procfile"
        copy_file "Rakefile"
        copy_file "README.md"
        chmod "script/ahn", 0755
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
adhearsion-2.0.0.beta1 lib/adhearsion/generators/app/app_generator.rb
adhearsion-2.0.0.alpha3 lib/adhearsion/generators/app/app_generator.rb