public
Description: Merb More: The Full Stack. Take what you need; leave what you don't.
Homepage: http://www.merbivore.com
Clone URL: git://github.com/wycats/merb-more.git
Add frozen framework script: merb-gen frozen-merb

Adds a Freezer generator, plus a merb-gen shortcut
ivey (author)
Wed Feb 13 00:44:28 -0800 2008
commit  90c74fbf6b64892e812442f8c96079b7b8fc56e4
tree    f1d5cc287f1ca5ede3313be629226e70b8fbb2ae
parent  ffa7f49f5928565b899f1d96f853e1ab0940ccb3
...
30
31
32
 
 
 
 
33
34
35
...
52
53
54
 
55
56
57
 
 
58
59
60
...
30
31
32
33
34
35
36
37
38
39
...
56
57
58
59
60
61
 
62
63
64
65
66
0
@@ -30,6 +30,10 @@ if ARGV.empty?
0
 elsif ARGV[0] && ARGV[0] == "plugin"
0
   Merb::ApplicationGenerator.run ARGV[1], ARGV[2..-1], "merb_plugin", command || "generate"
0
 
0
+# merb-gen frozen-merb
0
+elsif ARGV[0] && ARGV[0] == "frozen-merb"
0
+ Merb::ComponentGenerator.run "frozen-merb", ["frozen-merb"], "freezer", command || "generate"
0
+
0
 # merb-gen controller foo
0
 # merb-gen resource foo --test
0
 elsif ARGV[1] && ARGV[1] !~ /^-/
0
@@ -52,9 +56,11 @@ elsif ARGV[0] && ARGV[0] =~ /^-/
0
   merb-gen app_name (for a standard application)
0
   merb-gen app_name --flat (for a flattened application)
0
   merb-gen app_name --very-flat (for a single file application)
0
+ merb-gen frozen-merb (script to run from frozen gems/framework)
0
   
0
   Other Generators:
0
- RubiGen::Scripts::Generate.new.run(ARGV)
0
+ merb-gen
0
+ with no args will display all availble generators for the current configuration.
0
   EOF
0
 
0
 

Comments

    No one has commented yet.