Permalink
Browse files

update rake task

  • Loading branch information...
1 parent 7cb0a15 commit 2649f39a24f67d449db2047fe4f1c3c99e3b9dc8 @guns committed May 1, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 Rakefile
View
@@ -3,8 +3,9 @@ task :default => :tarball
desc 'Create a release tarball'
task :tarball do
File.open 'xterm-color-table.vim.tar.gz', 'w' do |f|
+ dir = File.basename Dir.pwd
Dir.chdir '..' do
- files = %w[README.markdown plugin doc].map { |f| 'xterm-color-table.vim/' + f }
+ files = %w[README.markdown plugin doc].map { |f| File.join dir, f }
f.write %x(tar zcv #{files.join ' '})
end
end

0 comments on commit 2649f39

Please sign in to comment.