forked from edavis10/redmine_rate
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Rakefile
executable file
·33 lines (30 loc) · 1.4 KB
/
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
33
#!/usr/bin/env ruby
require 'redmine_plugin_support'
Dir[File.expand_path(File.dirname(__FILE__)) + "/lib/tasks/**/*.rake"].sort.each { |ext| load ext }
RedminePluginSupport::Base.setup do |plugin|
plugin.project_name = 'redmine_rate'
plugin.default_task = [:test]
plugin.tasks = [:db, :doc, :release, :clean, :test, :stats, :metrics]
plugin.redmine_root = File.expand_path(File.dirname(__FILE__) + '/../../../')
end
begin
require 'jeweler'
Jeweler::Tasks.new do |s|
s.name = "redmine_rate"
s.summary = "A Rate plugin for Redmine to store billing rate for user."
s.email = "[email protected]"
s.homepage = "https://projects.littlestreamsoftware.com/projects/redmine-rate"
s.description = "The Rate plugin stores billing rates for Users. It also provides an API that can be used to find the rate for a Member of a Project at a specific date."
s.authors = ["Eric Davis"]
s.files = FileList[
"[A-Z]*",
"init.rb",
"rails/init.rb",
"{bin,generators,lib,test,app,assets,config,lang}/**/*",
'lib/jeweler/templates/.gitignore'
]
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler, or one of its dependencies, is not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end