forked from thoughtbot/sortable_table
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRakefile
31 lines (27 loc) · 829 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
31
require 'rake'
require 'rake/testtask'
require 'date'
test_files_pattern = 'test/rails_root/test/{unit,functional,other}/**/*_test.rb'
Rake::TestTask.new do |t|
t.libs << 'lib'
t.pattern = test_files_pattern
t.verbose = false
end
desc "Run the test suite"
task :default => :test
spec = Gem::Specification.new do |s|
s.version = '0.0.6'
s.name = "sortable_table"
s.summary = "Sort HTML tables in a Rails app."
s.email = "dcroak@thoughtbot.com"
s.homepage = "http://github.com/dancroak/sortable_table"
s.description = "Sort HTML tables in a Rails app."
s.authors = ["Dan Croak", "Joe Ferris", "Jon Yurek", "Boston.rb"]
s.files = FileList["[A-Z]*", "{lib,rails}/**/*"]
end
desc "Generate a gemspec file"
task :gemspec do
File.open("#{spec.name}.gemspec", 'w') do |f|
f.write spec.to_yaml
end
end