-
Notifications
You must be signed in to change notification settings - Fork 34
/
arduino_ci.gemspec
30 lines (25 loc) · 1.2 KB
/
arduino_ci.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
# coding: utf-8
lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "arduino_ci/version"
Gem::Specification.new do |spec|
spec.name = "arduino_ci"
spec.version = ArduinoCI::VERSION
spec.licenses = ['Apache-2.0']
spec.authors = ["Ian Katz"]
spec.email = ["arduino.continuous.integration@gmail.com"]
spec.summary = "Tools for building and unit testing Arduino libraries"
spec.description = spec.description
spec.homepage = "http://github.com/Arduino-CI/arduino_ci"
spec.bindir = "exe"
rejection_regex = %r{^(test|spec|features)/}
libfiles = Dir['lib/**/*.*'].reject { |f| f.match(rejection_regex) }
binfiles = Dir[File.join(spec.bindir, '/**/*.*')].reject { |f| f.match(rejection_regex) }
cppfiles = Dir['cpp/**/*.*']
miscfiles = Dir['misc/**/*.*']
spec.files = ['README.md', 'REFERENCE.md', '.yardopts'] + libfiles + binfiles + cppfiles + miscfiles
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.add_dependency "os", "~> 1.0"
spec.add_dependency "rubyzip", "~> 1.2"
end