-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRakefile
31 lines (26 loc) · 839 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
require 'rubygems/package_task'
require 'rake/testtask'
spec = Gem::Specification.new do |s|
s.name = 'qc.rb'
s.version = '0.0.10'
s.date = '2016-09-06'
s.summary = "QingCloud API Library"
s.description = "QingCloud API Library to handle instances, networks, internetconnections, etc. on QingCloud.com"
s.authors = ["Daniel Bovensiepen"]
s.email = 'daniel@bovensiepen.net'
s.files = Dir.glob("{bin,lib}/**/*") + %w(LICENSE README.md)
s.executables = ['qc']
s.require_path = 'lib'
s.homepage = 'https://github.com/bovi/qc.rb'
s.license = 'MIT'
end
Gem::PackageTask.new(spec) do |pkg|
pkg.need_zip = true
pkg.need_tar = true
end
Rake::TestTask.new do |t|
t.libs << 'test'
end
desc "Run tests"
task :default => :test
task :clean => [:clobber_package]