Permalink
Browse files

add release rake task

  • Loading branch information...
1 parent 27ea201 commit 36b6cf0ce16e20011edeb36c3bfdf89eae140f13 guns committed Jan 21, 2011
Showing with 11 additions and 1 deletion.
  1. +1 −0 .gitignore
  2. +0 −1 README.markdown
  3. +10 −0 Rakefile
View
@@ -0,0 +1 @@
+xterm-color-table.vim.tar.gz
View
@@ -7,7 +7,6 @@
guns <sung@metablu.com>
- * Version: 1.0
* License: MIT
* Homepage: <http://github.com/guns/xterm-color-table.vim>
View
@@ -0,0 +1,10 @@
+task :default => :tarball
+
+desc 'Create a release tarball'
+task :tarball do
+ File.open 'xterm-color-table.vim.tar.gz', 'w' do |f|
+ Dir.chdir '..' do
+ f.write %x(tar zcv xterm-color-table.vim/README.markdown xterm-color-table.vim/plugin)
+ end
+ end
+end

0 comments on commit 36b6cf0

Please sign in to comment.