Sha256: 375b66fe94079ab4551b7bd3b0a184302744eb669d0f7a775d931cb9769b3659
Contents?: true
Size: 620 Bytes
Versions: 12
Compression:
Stored size: 620 Bytes
Contents
# encoding: utf-8 module Adhearsion module Generators class AppGenerator < Generator BASEDIRS = %w( config lib script spec ) EMPTYDIRS = %w( spec/support ) def setup_project self.destination_root = @generator_name BASEDIRS.each { |dir| directory dir } EMPTYDIRS.each { |dir| empty_directory dir } template "Gemfile.erb", "Gemfile" copy_file "gitignore", ".gitignore" copy_file "rspec", ".rspec" copy_file "Procfile" copy_file "Rakefile" copy_file "README.md" chmod "script/ahn", 0755 end end end end
Version data entries
12 entries across 12 versions & 1 rubygems