forked from jnunemaker/scrobbler
-
Notifications
You must be signed in to change notification settings - Fork 29
/
Rakefile
32 lines (28 loc) · 966 Bytes
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Rakefile
require 'rubygems'
require 'rake'
require File.expand_path('../lib/rockstar/version', __FILE__)
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "rockstar"
gem.summary = %Q{wrapper for audioscrobbler (last.fm) web services}
gem.description = %Q{This gem is an updated version of jnunemakers scrobbler gem. Rockstar uses v2.0 of the last.fm api.}
gem.email = "[email protected]"
gem.homepage = "http://github.com/putpat/rockstar"
gem.authors = ["Bodo Tasche"]
gem.add_dependency("hpricot", ">=0.4.86")
gem.add_dependency("activesupport", ">=1.4.2")
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end
require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
test.libs << 'lib' << 'test'
test.pattern = 'test/**/test_*.rb'
test.verbose = true
end
#task :test => :check_dependencies
task :default => :test