Sha256: 7a3614901379f7ff9a12bb06ef8f49fdf17c138404895c7b18c155ff5f8132c7
Contents?: true
Size: 641 Bytes
Versions: 5
Compression:
Stored size: 641 Bytes
Contents
module Pancake module Generators class Short < Base argument :stack_name, :banner => "Name of stack" desc "Generates a short stack" def stack say "Creating The Short Stack For #{stack_name}" directory "short/%stack_name%", stack_name template File.join(self.class.source_root, "common/dotgitignore"), "#{stack_name}/.gitignore" template File.join(self.class.source_root, "common/dothtaccess"), "#{stack_name}/lib/#{stack_name}/public/.htaccess" inside("#{stack_name}/lib/#{stack_name}/script") do run 'chmod +x console' end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems