mojodna / switchboard

A toolkit for assembling XMPP clients and interacting with XMPP servers.

This URL has Read+Write access

switchboard / Rakefile
100644 31 lines (24 sloc) 0.755 kb
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 File.join("lib", "switchboard", "version")
 
desc "Generate the gemspec"
task :gemspec do
  gemspec =<<-EOF
# this file is automatically generated
Gem::Specification.new do |s|
s.name = "switchboard"
s.version = "#{Switchboard::VERSION * "."}"
s.summary = "XMPP toolkit."
s.description = "A toolkit for assembling XMPP clients and interacting with XMPP servers."
s.authors = ["Seth Fitzsimmons"]
s.email = ["seth@mojodna.net"]
 
s.files = #{Dir.glob("**/*").select { |f| File.file?(f) }.inspect}
s.executables = ["switchboard"]
s.require_paths = ["lib"]
 
s.add_dependency("xmpp4r")
end
EOF
 
  open("switchboard.gemspec", "w") do |f|
    f << gemspec
  end
 
  puts "gemspec successfully created."
end
 
task :default => :gemspec