-
Notifications
You must be signed in to change notification settings - Fork 1
/
bpm.gemspec
43 lines (35 loc) · 1.53 KB
/
bpm.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
39
40
41
42
# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib/', __FILE__)
$:.unshift lib unless $:.include?(lib)
require 'bpm/version'
Gem::Specification.new do |s|
s.name = "bpm"
s.version = BPM::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Charles Jolley", "Peter Wagenet"]
s.email = ["[email protected]", "[email protected]"]
s.homepage = "http://github.com/getbpm/bpm"
s.summary = s.description = "Browser Package Manager"
mswin = RbConfig::CONFIG["host_os"] =~ %r!(msdos|mswin|djgpp|mingw)!
mri = !mswin && (!defined?(RUBY_ENGINE) || RUBY_ENGINE == "ruby")
s.add_dependency "libgems", "~> 0.1.3"
s.add_dependency "gemcutter", "~> 0.6.1"
s.add_dependency "highline", "~> 1.6.1"
s.add_dependency "json_pure", "~> 1.4.6"
s.add_dependency "thor", "~> 0.14.3"
s.add_dependency "execjs", "~> 1.2.4"
s.add_dependency "sprockets", "~> 2.0.0"
s.add_dependency "eventmachine", "~> 1.0.0.beta.4" # There are issues with 0.12.10 and thin
s.add_dependency "thin", "~> 1.2"
s.add_development_dependency "rspec"
s.add_development_dependency "rack", "~> 1.3.2"
paths = `git submodule`.split("\n").map do |line|
path = line.gsub(/^.\w+\s+(\S+).*/,'\1')
`cd #{path}; git ls-files`.split("\n").map { |p| File.join(path, p) }
end
paths << `git ls-files`.split("\n")
s.files = paths.flatten
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = ['bpm']
s.require_paths = ["lib"]
end