Skip to content

Commit

Permalink
added rakefile
Browse files Browse the repository at this point in the history
  • Loading branch information
inukshuk committed Sep 5, 2011
1 parent feca0a7 commit 2565abe
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
lib = File.expand_path('../lib/', __FILE__)
$:.unshift lib unless $:.include?(lib)

require 'rake/clean'

require 'anystyle/parser/version'

task :build => [:clean] do
system 'gem build anystyle-parser.gemspec'
end

task :release => [:build] do
system "git tag #{Anystyle::Parser::VERSION}"
system "gem push anystyle-parser-#{Anystyle::Parser::VERSION}.gem"
end

CLEAN.include('*.gem')
CLEAN.include('*.rbc')

0 comments on commit 2565abe

Please sign in to comment.