forked from paulca/behavior
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathRakefile
43 lines (38 loc) · 1 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
require 'rake'
require 'spec/rake/spectask'
desc 'Default: run specs.'
task :default => :spec
desc 'Run the specs'
Spec::Rake::SpecTask.new(:spec) do |t|
t.spec_opts = ['--colour --format progress --loadby mtime --reverse']
t.spec_files = FileList['spec/**/*_spec.rb']
end
PKG_FILES = FileList[
'[a-zA-Z]*',
'app/**/*',
'generators/**/*',
'config/*',
'lib/**/*',
'rails/**/*',
'spec/**/*',
'features/**/*'
]
begin
require 'jeweler'
Jeweler::Tasks.new do |s|
s.name = "behavior"
s.version = "0.2.0"
s.author = "Paul Campbell"
s.email = "[email protected]"
s.homepage = "http://www.github.com/paulca/behavior"
s.platform = Gem::Platform::RUBY
s.summary = "A Rails plugin for storing application configuration in the database."
s.files = PKG_FILES.to_a
s.require_path = "lib"
s.has_rdoc = false
s.extra_rdoc_files = ["README.textile"]
end
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install jeweler"
end
Jeweler::GemcutterTasks.new