mirror of
https://github.com/faye/websocket-driver-ruby.git
synced 2025-11-01 13:59:38 +00:00
20 lines
394 B
Ruby
20 lines
394 B
Ruby
require 'rubygems/package_task'
|
|
require 'rake/extensiontask'
|
|
|
|
spec = Gem::Specification.load('faye-websocket.gemspec')
|
|
|
|
Gem::PackageTask.new(spec) do |pkg|
|
|
end
|
|
|
|
Rake::ExtensionTask.new('faye_websocket_mask', spec)
|
|
|
|
task :clean do
|
|
Dir['./**/*.{bundle,o,so}'].each do |path|
|
|
puts "Deleting #{path} ..."
|
|
File.delete(path)
|
|
end
|
|
FileUtils.rm_rf('./pkg')
|
|
FileUtils.rm_rf('./tmp')
|
|
end
|
|
|