forked from aphyr/salticid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile.rb
37 lines (30 loc) · 1011 Bytes
/
Rakefile.rb
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
34
35
36
37
$:.unshift(File.join(File.dirname(__FILE__), 'lib'))
require 'rubygems'
require 'salticid/version'
require 'find'
require 'rubygems/package_task'
# Don't include resource forks in tarballs on Mac OS X.
ENV['COPY_EXTENDED_ATTRIBUTES_DISABLE'] = 'true'
ENV['COPYFILE_DISABLE'] = 'true'
# Gemspec
gemspec = Gem::Specification.new do |s|
s.name = 'salticid'
s.version = Salticid::VERSION
s.author = 'Kyle Kingsbury'
s.email = '[email protected]'
s.homepage = 'https://github.com/aphyr/salticid'
s.platform = Gem::Platform::RUBY
s.summary = 'Run commands over SSH, with Ruby magic.'
s.files = FileList['{lib}/**/*', 'LICENSE', 'README.markdown'].to_a
s.executables = ['salticid']
s.require_path = 'lib'
s.has_rdoc = true
s.required_ruby_version = '>= 1.8.7'
s.add_dependency('trollop', '~> 1.16.2')
s.add_dependency('net-scp')
s.add_dependency('net-ssh')
s.add_dependency('net-ssh-gateway')
s.add_dependency('net-ssh-multi')
end
Gem::PackageTask.new(gemspec) do |pkg|
end