Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tag: 0.0.8
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (24 sloc) 0.755 kB
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
Jump to Line
Something went wrong with that request. Please try again.