Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (10 sloc) 519 Bytes
require File.join('lib', 'faye')
DIR = File.dirname(__FILE__)
jake_hook :build_complete do |build|
FileUtils.cp build.package(:client).build_path(:min), DIR + '/lib/faye-min.js'
FileUtils.cp build.package(:client).build_path(:min), DIR + '/examples/node/faye-client-min.js'
FileUtils.cp build.package(:server).build_path(:src), DIR + '/examples/node/faye.js'
[[:client, :min], [:server, :min], [:core, :src], [:core, :min]].each do |(pkg,typ)|
FileUtils.rm build.package(pkg).build_path(typ)
end
end
Something went wrong with that request. Please try again.