-
Notifications
You must be signed in to change notification settings - Fork 1
/
Rakefile
28 lines (24 loc) · 819 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
require "rubygems"
require "bundler/setup"
require 'spec/rake/spectask'
task :default => :spec
desc "Run all specs"
Spec::Rake::SpecTask.new do |t|
t.spec_files = FileList['spec/**/*_spec.rb']
t.spec_opts = ['--options', 'spec/spec.opts']
end
begin
require 'jeweler'
Jeweler::Tasks.new do |s|
s.name = 'mlist'
s.summary = 'A Ruby mailing list library designed to be integrated into other applications.'
s.email = 'adam@thewilliams.ws'
s.files = FileList["[A-Z]*", "{lib,rails}/**/*"].exclude("tmp")
s.homepage = "http://github.com/aiwilliams/mlist"
s.description = s.summary
s.authors = ['Adam Williams']
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end