-
Notifications
You must be signed in to change notification settings - Fork 0
/
mundler.gemspec
36 lines (28 loc) · 1.15 KB
/
mundler.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
Gem::Specification.new do |spec|
root = File.expand_path('..', __FILE__)
require File.join(root, "lib", "mundler", "version.rb").to_s
require "pathname"
spec.name = "mundler"
spec.version = Mundler::VERSION
spec.authors = ["Daniel Inkpen"]
spec.email = ["[email protected]"]
spec.summary = %q{A simple tool help download and compile mruby when gems change}
spec.description = %q{A simple tool help download and compile mruby when gems change}
spec.homepage = "https://github.com/Dan2552/mundler"
spec.license = "MIT"
spec.files = Dir
.glob(File.join(root, "**", "*.rb"))
.reject { |f| f.match(%r{^(test|spec|features)/}) }
.map { |f| Pathname.new(f).relative_path_from(root).to_s }
spec.files << "lib/mundler/cached_git/cached_git"
spec.files << "lib/mundler/cached_git/git"
if File.directory?(File.join(root, "exe"))
spec.bindir = "exe"
spec.executables = Dir.glob(File.join(root, "exe", "*"))
.map { |f| File.basename(f) }
end
spec.require_paths = ["lib"]
spec.add_development_dependency "rake"
spec.add_dependency "thor"
spec.add_dependency "rake"
end