-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmsh.gemspec
More file actions
54 lines (48 loc) · 1.27 KB
/
Copy pathmsh.gemspec
File metadata and controls
54 lines (48 loc) · 1.27 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
require_relative "lib/msh/version"
Gem::Specification.new do |s|
s.name = "msh"
s.version = Msh::VERSION
s.authors = ["Mark Delk"].freeze
s.email = "jethrodaniel@gmail.com"
s.summary = "a ruby shell"
s.description = <<~DESC
Msh is an command language interpreter that executes commands read from
standard input or from a file.
It combines the "good" parts of *nix shells with the power of Ruby.
DESC
s.homepage = "https://github.com/jethrodaniel/msh"
s.license = "MIT"
s.metadata = {
"allowed_push_host" => "TODO: Set to 'https://rubygems.org'",
"source_code_uri" => s.homepage,
"homepage_uri" => s.homepage
}
s.files = %w[
readme.adoc
msh.gemspec
license.txt
] + Dir.glob("lib/**/*.rb") +
Dir.glob("man/man1/*") +
Dir.glob("exe/*")
s.bindir = "exe"
s.executables = s.files.grep(%r{^exe/}) { |f| File.basename(f) }
s.require_paths = %w[lib]
s.required_ruby_version = ">= 2.5"
s.add_dependency "reline", "~> 0.2.5"
%w[
asciidoctor
bundler
fpm
minitest
minitest-documentation
parser
pry-byebug
rake
rubocop
yamatanooroti
yard
vterm
].each { |dep| s.add_development_dependency(dep) }
# s.post_install_message <<~MSG
# MSG
end