forked from JDStraughan/unnecessary-censorship
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRakefile
30 lines (23 loc) · 867 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
require 'rubygems'
require 'rake'
require 'echoe'
require 'rspec/core/rake_task'
namespace :spec do
RSpec::Core::RakeTask.new(:normal) do |t|
t.pattern ='spec/**/*_spec.rb'
t.rcov = false
end
end
desc "RSpec tests"
task "spec" => "spec:normal"
task "default" => "spec"
Echoe.new('unnecessary_censorship', '0.1.3') do |p|
p.description = "Unnecessarily censor a string of english words. Extends String class for simple integration into any Ruby project."
p.summary = "Unnecessarily censor a string of english words."
p.url = "http://github.com/jdstraughan/unnecessary-censorship"
p.author = "JDStraughan"
p.email = "[email protected]"
p.ignore_pattern = ["tmp/*", "script/*"]
p.development_dependencies = []
end
Dir["#{File.dirname(__FILE__)}/tasks/*.rake"].sort.each { |ext| load ext }