Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (10 sloc) 0.548 kB
require File.join('lib', 'faye')
DIR = File.dirname(__FILE__)
jake_hook :build_complete do |build|
FileUtils.cp build.package('faye-client').build_path(:min), DIR + '/lib/faye-client-min.js'
FileUtils.cp build.package('faye-client').build_path(:min), DIR + '/examples/node/faye-client-min.js'
FileUtils.cp build.package(:faye).build_path(:src), DIR + '/examples/node/faye.js'
[['faye-client', :src], [:faye, :min], [:core, :src], [:core, :min]].each do |(pkg,typ)|
FileUtils.rm build.package(pkg).build_path(typ)
end
end
Jump to Line
Something went wrong with that request. Please try again.