forked from gman77/net-ssh-shell
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathRakefile
28 lines (21 loc) · 778 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
require './lib/net/ssh/shell/version'
begin
require 'echoe'
rescue LoadError
abort "You'll need to have `echoe' installed to use Net::SSH::Shell's Rakefile"
end
version = Net::SSH::Shell::Version::STRING.dup
if ENV['SNAPSHOT'].to_i == 1
version << "." << Time.now.utc.strftime("%Y%m%d%H%M%S")
end
Echoe.new('net-ssh-shell', version) do |p|
p.changelog = "CHANGELOG.rdoc"
p.author = "Jamis Buck"
p.email = "[email protected]"
p.summary = "A simple library to aid with stateful shell interactions"
p.url = "http://net-ssh.rubyforge.org/shell"
p.dependencies = ["net-ssh >=2.0.9"]
p.need_zip = true
p.include_rakefile = true
p.rdoc_pattern = /^(lib|README.rdoc|CHANGELOG.rdoc)/
end