X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/77de5063128440bd88623f634c522b8933770f2e..164341121da478c458f1fa0c6247388ca7a3e134:/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