Permalink
Browse files

Unfinished greatest_hits idea

  • Loading branch information...
1 parent 1eb0e19 commit e533a8d0a0f1a9de865f65966d80fbc3e7cdd809 @jhs jhs committed Feb 10, 2011
Showing with 29 additions and 0 deletions.
  1. +29 −0 tasks/greatest_hits.rake
View
@@ -0,0 +1,29 @@
+# Recommended commands
+
+namespace :greatest do
+ task :hits do
+ hits = [ { "desc" => "Build only Erlang, not the other bullshit",
+ "task" => "erlang",
+ "install=/some/place" => "Install it all here (default is ./build)",
+ "note" => "An 'env.sh' file will be there. Source it to activate the install."
+ },
+ { "desc" => "Build a full CouchDB system",
+ "task" => nil,
+ "install=/some/place" => "Install it all here (default is ./build)",
+ "note" => "Development files installed too"
+ }
+ ]
+
+ hits.each do |hit|
+ puts hit.delete("desc")
+ puts "======="
+ line = []
+ line << hit.task ? "rake" : "rake #{hit.delete "task"}"
+ note = hit.delete "note"
+ hits.each do |arg, desc|
+
+ end
+ puts "> #{rake} "
+ end
+ puts
+end

0 comments on commit e533a8d

Please sign in to comment.