Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 15b84deafc
Fetching contributors…

Cannot retrieve contributors at this time

48 lines (39 sloc) 1.791 kB
# Look in the tasks/setup.rb file for the various options that can be
# configured in this Rakefile. The .rake files in the tasks directory
# are where the options are used.
load 'tasks/setup.rb'
ensure_in_path 'lib'
require 'mole'
require 'mole/version'
task :default => 'spec:run'
PROJ.name = 'mole'
PROJ.authors = 'Fernand Galiana'
PROJ.email = 'fernand@liquidrail.com'
PROJ.url = 'http://mole.rubyforge.org'
PROJ.rubyforge_name = 'mole'
PROJ.description = "A flexible way to track user's interactions within your ruby web applications"
PROJ.spec_opts << '--color'
PROJ.rcov_dir = ENV['CC_BUILD_ARTIFACTS'] ? "#{ENV['CC_BUILD_ARTIFACTS']}/test_coverage" : 'coverage'
PROJ.rdoc_dir = ENV['CC_BUILD_ARTIFACTS'] ? "#{ENV['CC_BUILD_ARTIFACTS']}/api_docs" : 'docs'
PROJ.ruby_opts = %w[-W0]
PROJ.version = ::Mole::Version.version
PROJ.svn = 'mole'
PROJ.rcov_threshold = 90.0
PROJ.executables = ['molify']
PROJ.exclude << %w[.DS_Store$ .swo$ .swp$]
PROJ.tests = FileList['test/**/test_*.rb']
PROJ.annotation_tags << 'BOZO'
desc "Clean up artifact directories"
task :clean do
rcov_artifacts = File.join( File.dirname( __FILE__ ), "coverage" )
FileUtils.rm_rf rcov_artifacts if File.exists? rcov_artifacts
rdoc_artifacts = File.join( File.dirname( __FILE__ ), "docs" )
FileUtils.rm_rf rdoc_artifacts if File.exists? rdoc_artifacts
gem_artifacts = File.join( File.dirname( __FILE__ ), "pkg" )
FileUtils.rm_rf gem_artifacts if File.exists? gem_artifacts
end
task 'gem:package'
# Dependencies...
depend_on "logging" , "~> 1.2.2"
depend_on "activerecord", "~> 2.3.2"
depend_on "twitter4r" , "~> 0.3.0"
Jump to Line
Something went wrong with that request. Please try again.