Merge pull request #605 from emdete/render_gradle_path

adjust path in render script
This commit is contained in:
Daniel Gultsch 2014-11-03 13:30:10 +01:00
commit b54b1ca3b7

View file

@ -14,7 +14,7 @@ images = {
images.each do |source, result| images.each do |source, result|
resolutions.each do |name, factor| resolutions.each do |name, factor|
size = factor * result[1] size = factor * result[1]
path = "../res/drawable-#{name}/#{result[0]}.png" path = "../src/main/res/drawable-#{name}/#{result[0]}.png"
cmd = "inkscape -e #{path} -C -h #{size} -w #{size} #{source}" cmd = "inkscape -e #{path} -C -h #{size} -w #{size} #{source}"
puts cmd puts cmd
system cmd system cmd