-
Notifications
You must be signed in to change notification settings - Fork 3
/
closure.gemspec
28 lines (24 loc) · 1.04 KB
/
closure.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
# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib/', __FILE__)
$:.unshift lib unless $:.include?(lib)
require 'closure'
Gem::Specification.new do |s|
s.name = 'closure'
s.version = Closure::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ['David Turnbull']
s.email = ['dturnbull@gmail.com']
s.licenses = ['Apache-2.0']
s.homepage = 'https://github.com/AE9RB/closure-script'
s.summary = 'Google Closure Compiler, Library, Script, and Templates.'
s.description = 'Everything you need for advanced Google Closure development.'
s.required_rubygems_version = ">= 1.3.6"
s.add_dependency 'rack', '~> 1'
dirs = %w{beanshell bin closure-compiler closure-templates lib docs/closure}
dirs += Dir.glob('scripts/*') - %w{scripts/closure-library scripts/fixtures}
s.require_path = 'lib'
s.files = Dir.glob("{#{dirs.join ','}}/**/*")
s.files += %w(LICENSE README.md docs/index.erb docs/SCRIPT.md)
s.files += Dir.glob('scripts/*')
s.executables = ['closure-script']
end