--- sake version 1 Wed Apr 09 23:26:10 +0000 2008
+++ sake version 12 Wed Jun 18 14:44:07 +0000 2008
@@ -1,21 +1,39 @@
-$ gem install sake
+***************************************************************************
+Sake - system-wide Rake.
+For more information: http://errtheblog.com/posts/60-sake-bomb
-** Completion:
-bash: complete -W ”$(sake -T | awk {‘print $2’})” sake
-z: function sake_task_list { reply=(`sake -T | awk ‘{ print $2 }’`); }
-compctl -K sake_task_list sake
+$ sudo gem install sake
+***************************************************************************
+** Auto Completion Of Sake Tasks
+***************************************************************************
+bash: complete -W "$(sake -T | awk {'print $2'})" sake
+z: function sake_task_list { reply=(`sake -T | awk '{ print $2 }'); }
+ compctl -K sake_task_list sake
+
+***************************************************************************
** Pastie (http://drnicwilliams.com/2007/06/28/pastie-paradise/)
+***************************************************************************
$ sake -i http://pastie.caboo.se/73801.txt
$ sake -T
$ sake pastie:send
# Sends STDIN or FILE=file to Pastie;
# USAGE: cat some_code.rb | sake pastie:send
# OR: sake pastie:send FILE=some_code.rb
On OSX, you can get the url for your new pastie in the clipboard using pbcopy:
$ cat some_code.rb | sake pastie:send | pbcopy
Want to send a patch to someone via pastie?
$ svn diff | sake pastie:send | pbcopy
+
+***************************************************************************
+** Load up any RubyGem into an editor from cache.
+***************************************************************************
+To Install:
+$ sake -i http://pastie.org/76167.txt
+
+Example:
+$ sake gems:find activerecord | xargs mate
+***************************************************************************