Sha256: 554bace79ab4b92475f81c578e645dc6a4a961550ad77863133bf87675e85035

Contents?: true

Size: 409 Bytes

Versions: 1

Compression:

Stored size: 409 Bytes

Contents

#!/usr/bin/env rake
require 'bundler/gem_tasks'
require File.expand_path('../lib/mapbox-rails/remote_resource_loader', __FILE__)

desc "Update with MapBox's Mapbox.js Library"
task 'update-mapbox' do |task, args|
  remote = args['remote'] || 'https://github.com/mapbox/mapbox.js'
  branch = args['branch'] || 'mb-pages'
  loader = RemoteResourceLoader.new
  loader.fetch
  loader.convert
  loader.cleanup
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mapbox-rails-2.3.0 Rakefile