-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathRakefile
33 lines (29 loc) · 878 Bytes
/
Rakefile
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
require "rubygems"
require "rubygems/package_task"
PROJ_VERSION = "2.22.1"
spec = Gem::Specification.new do |s|
s.name = "choria-mcorpc-support"
s.version = PROJ_VERSION
s.license = "Apache-2.0"
s.author = "R.I.Pienaar"
s.email = "[email protected]"
s.homepage = "https://choria.io/"
s.summary = "Support libraries the Choria Server"
s.description = "Libraries enabling Ruby support for the Choria Orchestration Server"
s.files = FileList["{lib,bin}/**/*"].to_a
s.require_path = "lib"
s.bindir = "bin"
s.executables = ["mco"]
s.add_dependency "systemu", "~> 2.6", ">= 2.6.4"
s.add_dependency "nats-pure", "~> 0.6"
end
Gem::PackageTask.new(spec) do |pkg|
pkg.need_tar = false
pkg.need_zip = false
pkg.package_dir = "build"
end
desc "Run spec tests"
task :test do
sh "bundle exec rubocop --config .rubocop.yml lib"
sh "bundle exec rspec"
end