Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (15 sloc) 0.49 kB
require "bundler"
Bundler.setup
require 'rake/testtask'
desc 'Test the library.'
Rake::TestTask.new(:test) do |t|
t.libs << 'lib' << 'test'
t.pattern = 'test/**/*_test.rb'
t.verbose = true
end
gemspec = eval(File.read("piwik-tracker.gemspec"))
task :build => "#{gemspec.full_name}.gem"
file "#{gemspec.full_name}.gem" => gemspec.files + ["piwik-tracker.gemspec"] do
system "gem build piwik-tracker.gemspec"
system "gem install piwik-tracker-#{PiwikTracker::VERSION}.gem"
end
Jump to Line
Something went wrong with that request. Please try again.