Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (12 sloc) 0.592 kb
DIR = File.dirname(__FILE__)
require File.join(DIR, 'lib', 'faye')
jake_hook :build_complete do |build|
browser_min = build.package('faye-browser').build_path(:min)
FileUtils.cp browser_min, DIR + '/lib/faye-browser-min.js'
[[:'faye-node', :min], [:core, :src], [:core, :min]].each do |(pkg,typ)|
FileUtils.rm build.package(pkg).build_path(typ)
end
FileUtils.cp 'package.json', File.join(build.build_dir, 'package.json')
FileUtils.cp 'History.txt', File.join(build.build_dir, 'History.txt')
FileUtils.cp 'README.rdoc', File.join(build.build_dir, 'README.txt')
end
Jump to Line
Something went wrong with that request. Please try again.