Sha256: e1911a3a2314043dd4bfd0dac3677d96de95355bc406f9cacd54b2cd87bc355e

Contents?: true

Size: 403 Bytes

Versions: 5

Compression:

Stored size: 403 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'] || 'v1'
  loader = RemoteResourceLoader.new
  loader.fetch
  loader.convert
  loader.cleanup
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mapbox-rails-1.6.1.1 Rakefile
mapbox-rails-1.6.1 Rakefile
mapbox-rails-1.0.3.1 Rakefile
mapbox-rails-1.0.3 Rakefile
mapbox-rails-1.0.2 Rakefile