Skip to content

Commit

Permalink
update rake task
Browse files Browse the repository at this point in the history
  • Loading branch information
guns committed May 1, 2011
1 parent 7cb0a15 commit 2649f39
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Rakefile
Expand Up @@ -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
Expand Down

0 comments on commit 2649f39

Please sign in to comment.