-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcli-mastermind.gemspec
37 lines (31 loc) · 1.54 KB
/
cli-mastermind.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
lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "cli/mastermind/version"
Gem::Specification.new do |spec|
spec.name = "cli-mastermind"
spec.version = CLI::Mastermind.gem_version
spec.authors = ["Chris Hall"]
spec.email = ["[email protected]"]
spec.summary = "Mastermind is a framework for constructing command line toolboxes."
spec.description = <<-DESC
Take over the world from your command line!
With mastermind, you can quickly build and generate
command line tools without having to custom build
everything for every project.
DESC
spec.homepage = "https://github.com/chall8908/cli-mastermind"
spec.license = "MIT"
# Specify which files should be added to the gem when it is released.
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
`git ls-files -z`.split("\x0").select { |f| f.match(/^(lib|exe)/) } + %w[ README.md LICENSE.txt ]
end
spec.bindir = "exe"
spec.executables = %w[ mastermind ]
spec.require_paths = %w[ lib ]
spec.required_ruby_version = '>= 2.3.0'
spec.add_runtime_dependency "cli-ui", "~> 1.2", ">= 1.2.0"
spec.add_development_dependency "bundler", "~> 2.0"
spec.add_development_dependency "rspec", "~> 3.0"
spec.add_development_dependency "yard", "~> 0.9.24"
end