Sha256: b4d0c66b83db4c5f93b6d080bd47b6b88d351222f2b6c331e581e99858568324
Contents?: true
Size: 1.01 KB
Versions: 2
Compression:
Stored size: 1.01 KB
Contents
module Picky module Generators module Server # Generates a new Picky Unicorn Server. # # Example: # > picky-generate unicorn_server my_lovely_unicorn # class Unicorn < Picky::Generators::Base def initialize identifier, name, *args super identifier, name, 'server/unicorn', *args end # # def generate exclaim "Setting up Picky Unicorn Server \"#{name}\"." create_target_directory copy_all_files exclaim "\"#{name}\" is a great project name! Have fun :)\n" exclaim "" exclaim "Next steps:" exclaim "1. cd #{name}" exclaim "2. bundle install" exclaim "3. rake index" exclaim "4. rake start" exclaim "5. rake # (optional) shows you where Picky needs input from you" exclaim " # if you want to define your own search." end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
picky-generators-1.1.1 | lib/picky-generators/generators/server/unicorn.rb |
picky-generators-1.1.0 | lib/picky-generators/generators/server/unicorn.rb |