forked from net-ssh/net-sftp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRakefile
30 lines (23 loc) · 824 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
$LOAD_PATH.unshift "../net-ssh/lib"
require './lib/net/sftp/version'
begin
require 'echoe'
rescue LoadError
abort "You'll need to have `echoe' installed to use Net::SFTP's Rakefile"
end
version = Net::SFTP::Version::STRING.dup
if ENV['SNAPSHOT'].to_i == 1
version << "." << Time.now.utc.strftime("%Y%m%d%H%M%S")
end
Echoe.new('net-sftp', version) do |p|
p.project = "net-ssh"
p.changelog = "CHANGELOG.rdoc"
p.author = "Jamis Buck"
p.email = "[email protected]"
p.summary = "A pure Ruby implementation of the SFTP client protocol"
p.url = "http://net-ssh.rubyforge.org/sftp"
p.dependencies = ["net-ssh >=2.0.9"]
p.need_zip = true
p.include_rakefile = true
p.rdoc_pattern = /^(lib|README.rdoc|CHANGELOG.rdoc)/
end