Sha256: 5fd40237e427a23ce14a4a1c01452f56025122957c4a818f10941374e6f4365d

Contents?: true

Size: 397 Bytes

Versions: 7

Compression:

Stored size: 397 Bytes

Contents

require 'bundler'
Bundler.require
Bundler::GemHelper.install_tasks

require 'open-uri'

desc 'Update Phoenix JS lib'
task :update_js do
  js_lib_url = 'https://raw.githubusercontent.com/phoenixframework/phoenix/master/priv/static/phoenix.js'
  js_lib_dest = File.join(File.dirname(__FILE__), './lib/phoenix_js.js')
  open(js_lib_url) do |f|
    File.write(js_lib_dest, f.readlines.join)
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
opal-web-midi-0.0.2 Rakefile
opal-web-midi-0.0.1 Rakefile
opal-phoenix-0.0.5 Rakefile
opal-phoenix-0.0.4 Rakefile
opal-phoenix-0.0.3 Rakefile
opal-phoenix-0.0.2 Rakefile
opal-phoenix-0.0.1 Rakefile