summaryrefslogtreecommitdiffhomepage
path: root/tasks/mruby_build.rake
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2013-03-14 08:15:40 -0700
committerYukihiro "Matz" Matsumoto <[email protected]>2013-03-14 08:15:40 -0700
commitad11d3144efc34e6fdc6deb24fb073f1ccd99fdb (patch)
treece2a1551956bb8ee1c5b51fa70c366766fbbe0d3 /tasks/mruby_build.rake
parent08a0c9f32843d4ebe17476608d6b2f3d8d703313 (diff)
parentd2f74c7c46c6cb3c4eb278b5adb1c766013d3b6c (diff)
downloadmruby-ad11d3144efc34e6fdc6deb24fb073f1ccd99fdb.tar.gz
mruby-ad11d3144efc34e6fdc6deb24fb073f1ccd99fdb.zip
Merge pull request #975 from crimsonwoods/modify_build_script
Improve Android platform support.
Diffstat (limited to 'tasks/mruby_build.rake')
-rw-r--r--tasks/mruby_build.rake8
1 files changed, 8 insertions, 0 deletions
diff --git a/tasks/mruby_build.rake b/tasks/mruby_build.rake
index 10125701e..1afb95334 100644
--- a/tasks/mruby_build.rake
+++ b/tasks/mruby_build.rake
@@ -128,6 +128,14 @@ module MRuby
end
end
+ def cygwin_filename(name)
+ if name.is_a?(Array)
+ name.flatten.map { |n| cygwin_filename(n) }
+ else
+ '"%s"' % `cygpath -w "#{filename(name)}"`.strip
+ end
+ end
+
def exefile(name)
if name.is_a?(Array)
name.flatten.map { |n| exefile(n) }