Skip to content

Commit

Permalink
Add a task to build a gem, ready for release.
Browse files Browse the repository at this point in the history
  • Loading branch information
mathie committed Jan 2, 2009
1 parent 379dab5 commit 139dc0a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,2 +1,3 @@
.DS_Store
/rdoc
/pkg
6 changes: 6 additions & 0 deletions Rakefile
@@ -1,6 +1,7 @@
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
require 'rake/gempackagetask'

desc 'Default: run unit tests.'
task :default => :test
Expand All @@ -20,3 +21,8 @@ Rake::RDocTask.new(:rdoc) do |rdoc|
rdoc.rdoc_files.include('README.rdoc')
rdoc.rdoc_files.include('lib/**/*.rb')
end

Rake::GemPackageTask.new(eval(File.read('google_analytics.gemspec'))) do |p|
p.need_tar = false
p.need_zip = false
end

0 comments on commit 139dc0a

Please sign in to comment.