GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Description: Ruby on Rails TextMate bundle [Learn it with PeepCode - http://peepcode.com/products/textmate-for-rails-2]
Homepage: http://groups.google.com/group/rubyonrails-textmate
Clone URL: git://github.com/drnic/ruby-on-rails-tmbundle.git
Click here to lend your support to: ruby-on-rails-tmbundle and make a donation at www.pledgie.com !
drnic (author)
Mon May 12 16:26:38 -0700 2008
commit  82d77a114345aa24dffd10f0c5ca9af31431a9e6
tree    ad7277e91d9b31430cab528d46705ce92834d5ce
parent  078fbdc4ac151bf7a5953224dae6d7f4c6f13c43
100644 9 lines (9 sloc) 0.312 kb
1
2
3
4
5
6
7
8
9
desc "Build bundle archive for distribution"
task :dist do
  bundle = 'Ruby\ on\ Rails.tmbundle'
  bundle_src = APP_ROOT
  bundle_dist = "website/dist"
  FileUtils.mkdir_p bundle_dist
  bundle_file = "#{bundle_dist}/#{bundle}.tar.gz"
  sh %{tar zcvf #{bundle_file} --exclude .git --exclude #{bundle_file} .}
end