Method: Interscript.map_locations
- Defined in:
- lib/interscript.rb
.map_locations ⇒ Object
79 80 81 82 83 84 85 86 87 88 |
# File 'lib/interscript.rb', line 79 def map_locations @map_locations ||= map_gems.map do |i,v| paths = v["paths"].dup paths += v["staging"] if ENV["INTERSCRIPT_STAGING"] && v["staging"] paths.map do |j| File.(j, File.dirname(i)) end end.flatten end |