]> git.openstreetmap.org Git - rails.git/commitdiff
Add Vendorfile
authorJohn Firebaugh <john.firebaugh@gmail.com>
Fri, 19 Oct 2012 22:45:09 +0000 (15:45 -0700)
committerJohn Firebaugh <john.firebaugh@gmail.com>
Fri, 9 Nov 2012 20:59:29 +0000 (12:59 -0800)
See https://github.com/grosser/vendorer

Vendorfile [new file with mode: 0644]

diff --git a/Vendorfile b/Vendorfile
new file mode 100644 (file)
index 0000000..6d0eb11
--- /dev/null
@@ -0,0 +1,24 @@
+folder 'vendor/assets' do
+  folder 'leaflet' do
+    from 'https://github.com/CloudMade/Leaflet.git' do
+      file 'leaflet.css',    'dist/leaflet.css'
+      file 'leaflet.ie.css', 'dist/leaflet.ie.css'
+      file 'leaflet.js',     'dist/leaflet-src.js'
+      folder 'images', 'dist/images'
+    end
+
+    from 'https://github.com/jfirebaugh/leaflet-locationfilter.git', :branch => 'osm' do
+      file 'leaflet.locationfilter.css', 'src/locationfilter.css'
+      file 'leaflet.locationfilter.js',  'src/locationfilter.js'
+      folder 'img', 'src/img'
+    end
+
+    file 'leaflet.pan.js',  'https://raw.github.com/kartena/Leaflet.Pancontrol/master/src/L.Control.Pan.js'
+    file 'leaflet.zoom.js', 'https://raw.github.com/kartena/Leaflet.zoomslider/master/src/L.Control.Zoomslider.js'
+    # CSS and sprite image are our own
+
+    from 'https://github.com/jfirebaugh/leaflet-osm.git' do
+      file 'leaflet.osm.js', 'leaflet-osm.js'
+    end
+  end
+end