diff options
| author | Hiroshi Mimaki <[email protected]> | 2014-11-19 09:02:10 +0900 |
|---|---|---|
| committer | Hiroshi Mimaki <[email protected]> | 2014-11-19 09:02:10 +0900 |
| commit | 4e4bfb08cbbc0198d1489004f807ba6a75469f16 (patch) | |
| tree | c079d5715e1942db88e9ca6472223acc73ac7059 /Rakefile | |
| parent | 5c6d6309b6b5e01ef3ff38f772e0fdd3fc5dd372 (diff) | |
| parent | b473043acfd1b4697e978e3ac4656dc9b03b3b22 (diff) | |
| download | mruby-4e4bfb08cbbc0198d1489004f807ba6a75469f16.tar.gz mruby-4e4bfb08cbbc0198d1489004f807ba6a75469f16.zip | |
Merge pull request #2640 from mruby-Forum/v1.1.01.1.0
mruby-1.1.0
Diffstat (limited to 'Rakefile')
| -rw-r--r-- | Rakefile | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -75,6 +75,16 @@ MRuby.each_target do |target| FileUtils.cp t.prerequisites.first, t.name, { :verbose => $verbose } end depfiles += [ install_path ] + elsif target == MRuby.targets['host-debug'] + unless MRuby.targets['host'].gems.map {|g| g.bins}.include?([bin]) + install_path = MRuby.targets['host-debug'].exefile("#{MRUBY_ROOT}/bin/#{bin}") + + file install_path => exec do |t| + FileUtils.rm_f t.name, { :verbose => $verbose } + FileUtils.cp t.prerequisites.first, t.name, { :verbose => $verbose } + end + depfiles += [ install_path ] + end else depfiles += [ exec ] end |
