-
Notifications
You must be signed in to change notification settings - Fork 2
/
Rakefile
36 lines (32 loc) · 1.16 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
task :gemspec do
gemspec = Gem::Specification.new do |spec|
spec.name = 'inquery'
spec.version = File.read('VERSION').chomp
spec.authors = ['Sitrox']
spec.summary = %(
A skeleton that allows extracting queries into atomic, reusable classes.
)
spec.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
spec.executables = []
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ['lib']
spec.add_development_dependency 'appraisal'
spec.add_development_dependency 'rake'
spec.add_development_dependency 'sqlite3'
spec.add_development_dependency 'haml'
spec.add_development_dependency 'yard'
spec.add_development_dependency 'rubocop', '1.25'
spec.add_development_dependency 'redcarpet'
spec.add_dependency 'minitest'
spec.add_dependency 'activesupport'
spec.add_dependency 'activerecord'
spec.add_dependency 'schemacop', '~> 3.0.8'
end
File.write('inquery.gemspec', gemspec.to_ruby.strip)
end
require 'rake/testtask'
Rake::TestTask.new do |t|
t.pattern = 'test/inquery/**/*_test.rb'
t.verbose = false
t.libs << 'test'
end