Permalink
Browse files

Different readme outputs after install_choctop based on type

  • Loading branch information...
1 parent c84353b commit d58c57b1837f0b2323fa8eb5ee17cdb56ea4c4b8 @drnic committed Jul 29, 2010
View
@@ -8,6 +8,8 @@ Manifest.txt
README.rdoc
Rakefile
app_generators/install_choctop/install_choctop_generator.rb
+app_generators/install_choctop/templates/README.normal
+app_generators/install_choctop/templates/README.textmate
app_generators/install_choctop/templates/Rakefile.erb
app_generators/install_choctop/templates/Rakefile.textmate.erb
app_generators/install_choctop/templates/release_notes.txt.erb
@@ -18,10 +18,12 @@ def manifest
case options[:project_type]
when :textmate
m.template "Rakefile.textmate.erb", "Rakefile"
+ m.readme "README.textmate"
else
m.template "Rakefile.erb", "Rakefile"
m.template "release_notes.txt.erb", "release_notes.txt"
m.file "release_notes_template.html.erb", "release_notes_template.html.erb"
+ m.readme "README.normal"
end
end
end
@@ -0,0 +1,5 @@
+You use choctop with the following rake tasks:
+ rake appcast # Create dmg, update appcast file, and upload to host
+ rake build # Create/update the appcast file
+ rake dmg # Create the dmg file for appcasting
+ rake upload # Upload the appcast file to the host
@@ -0,0 +1,2 @@
+You use choctop with the following rake tasks:
+ rake dmg # Create the dmg file for appcasting
View
@@ -15,10 +15,3 @@ source = RubiGen::PathSource.new(:application,
RubiGen::Base.reset_sources
RubiGen::Base.append_sources source
RubiGen::Scripts::Generate.new.run(ARGV, :generator => 'install_choctop')
-puts <<-EOS
-You use choctop with the following rake tasks:
- rake appcast # Create dmg, update appcast file, and upload to host
- rake build # Create/update the appcast file
- rake dmg # Create the dmg file for appcasting
- rake upload # Upload the appcast file to the host
-EOS

0 comments on commit d58c57b

Please sign in to comment.