X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/77de5063128440bd88623f634c522b8933770f2e..278a2c5ea53471d34f933d7c83b70f2ea09c17ad:/Vendorfile diff --git a/Vendorfile b/Vendorfile index 02d9fdd20..a7cada67a 100644 --- a/Vendorfile +++ b/Vendorfile @@ -37,4 +37,15 @@ folder 'vendor/assets' do file 'ohauth.js' end end + + folder 'iD' do + from 'git://github.com/systemed/iD', :branch => '1-0-stable' do + folder 'iD/img', 'dist/img' + folder 'iD/locales', 'dist/locales' + file 'iD.css.erb', 'dist/iD.css' do |path| + rewrite(path) { |content| content.gsub(/url\('?(img\/[^')]+)'?\)/, 'url(<%= asset_path("iD/\1") %>)') } + end + file 'iD.js', 'dist/iD.js' + end + end end