forked from defunkt/rip
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Rakefile
51 lines (43 loc) · 1.19 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
require "rake/testtask"
Rake::TestTask.new do |t|
t.libs << "test"
t.test_files = FileList["test/**/*_test.rb"]
t.verbose = true
end
task :default => :test
begin
require 'jeweler'
# We're not putting VERSION or VERSION.yml in the root,
# so we have to help Jeweler find our version.
$LOAD_PATH.unshift File.dirname(__FILE__) + '/lib'
require 'rip/version'
require 'rip/setup'
Rip::Version.instance_eval do
def refresh
end
end
class Jeweler
def version_helper
Rip::Version
end
def version_exists?
true
end
end
Jeweler::Tasks.new do |gemspec|
gemspec.name = "rip"
gemspec.summary = "Rip: Ruby's Intelligent Packaging"
gemspec.email = "chris@ozmm.org"
gemspec.homepage = "http://hellorip.com"
gemspec.description = "Rip: Ruby's Intelligent Packaging"
gemspec.authors = ["Chris Wanstrath"]
gemspec.extensions = ["ext/extconf.rb"]
gemspec.executables = ['']
gemspec.has_rdoc = false
gemspec.extra_rdoc_files = ['']
gemspec.post_install_message = Rip::Setup.finish_setup_banner
end
rescue LoadError
puts "Jeweler not available."
puts "Install it with: rip install technicalpickles-jeweler"
end