forked from xavier/permalink_fu
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRakefile
More file actions
31 lines (26 loc) · 746 Bytes
/
Rakefile
File metadata and controls
31 lines (26 loc) · 746 Bytes
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
require 'rake'
require 'rake/testtask'
begin
require 'spec/rake/spectask'
rescue LoadError
puts 'To use rspec for testing you must install rspec gem:'
puts '$ sudo gem install rspec'
exit
end
begin
require 'jeweler'
Jeweler::Tasks.new do |gemspec|
gemspec.name = "permalink_fu"
gemspec.summary = "ActiveRecord plugin for automatically converting fields to permalinks."
gemspec.homepage = "http://github.com/technoweenie/permalink_fu"
gemspec.authors = ["rick olson"]
end
rescue LoadError
puts "Jeweler not available. Install it with: gem install jeweler"
end
Rake::TestTask.new do |t|
t.test_files = FileList['test/*_test.rb']
t.verbose = true
end
desc 'Default: run test examples'
task :default => 'test'