Sha256: e6ab287ffd5f0786a3b9d8163e03e9ae319db6dfa7c3fe1dfd9794625e2a5b55
Contents?: true
Size: 543 Bytes
Versions: 5
Compression:
Stored size: 543 Bytes
Contents
module Pancake module Generators class Stack < Base argument :stack_name, :banner => "Name of stack" desc "Generates a stack" def stack say "Creating The Stack For #{stack_name}" directory "stack/%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" end end end end
Version data entries
5 entries across 5 versions & 2 rubygems