forked from schacon/ticgit
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Rakefile
34 lines (28 loc) · 1012 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
33
34
require 'rake'
require 'rake/clean'
require 'rake/gempackagetask'
require 'time'
require 'date'
PROJECT_SPECS = Dir['spec/ticgit/**/*.rb']
PROJECT_MODULE = 'Foo'
PROJECT_VERSION = ENV['VERSION'] || Date.today.strftime("%Y.%m.%d")
GEMSPEC = Gem::Specification.new{|s|
s.name = 'ticgit'
s.version = PROJECT_VERSION
s.authors = ['Scott Chacon', "Michael 'manveru' Fellinger"]
s.summary = "A distributed ticketing system for git projects."
# s.description = "A distributed ticketing system for git projects."
s.email = '[email protected]'
s.homepage = 'http://github.com/manveru/ticgit'
s.bindir = 'bin'
s.executables = %w[ti ticgitweb]
s.files = `git ls-files`.split("\n").sort
s.has_rdoc = true
s.platform = Gem::Platform::RUBY
s.require_path = 'lib'
s.default_executable = s.executables.first
s.add_dependency('git', '>= 1.0.5')
}
Dir['tasks/*.rake'].each{|f| import(f) }
task :default => [:bacon]
CLEAN.include('')