-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathdanger-ktlint.gemspec
38 lines (30 loc) · 1.33 KB
/
danger-ktlint.gemspec
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
37
38
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'ktlint/gem_version.rb'
Gem::Specification.new do |spec|
spec.name = 'danger-ktlint'
spec.version = Ktlint::VERSION
spec.authors = ['mataku']
spec.email = ['[email protected]']
spec.description = %q{Lint kotlin files using ktlint command line interface.}
spec.summary = %q{Lint kotlin files using ktlint command line interface.}
spec.homepage = 'https://github.com/mataku/danger-ktlint'
spec.license = 'MIT'
spec.files = `git ls-files`.split($/)
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ['lib']
spec.add_runtime_dependency 'danger-plugin-api', '~> 1.0'
# General ruby development
spec.add_development_dependency 'bundler', '~> 2.0'
spec.add_development_dependency 'rake'
# Testing support
spec.add_development_dependency 'rspec', '~> 3.4'
# Linting code and docs
spec.add_development_dependency "rubocop"
# Makes testing easy via `bundle exec guard`
spec.add_development_dependency 'guard', '~> 2.14'
spec.add_development_dependency 'guard-rspec', '~> 4.7'
spec.add_development_dependency 'pry'
end