Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Copy the JS files into the Ruby directory correctly.

  • Loading branch information...
commit 8ed2efef5249cbd8f167483e6a7bd130426d1c4a 1 parent 7db6fd3
@jcoglan jcoglan authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 Jakefile
View
4 Jakefile
@@ -2,8 +2,12 @@ DIR = File.dirname(__FILE__)
require File.join(DIR, 'lib', 'faye')
jake_hook :build_complete do |build|
+ browser_src = build.package('browser/faye-browser').build_path(:src)
+ FileUtils.cp browser_src, DIR + '/lib/faye-browser.js'
+
browser_min = build.package('browser/faye-browser').build_path(:min)
FileUtils.cp browser_min, DIR + '/lib/faye-browser-min.js'
+ FileUtils.cp browser_min + '.map', DIR + '/lib/faye-browser-min.js.map'
[['node/faye-node', :min], ['core', :src], [:core, :min]].each do |(pkg,typ)|
path = build.package(pkg).build_path(typ)
Please sign in to comment.
Something went wrong with that request. Please try again.