diff options
| author | mimaki <[email protected]> | 2014-11-18 23:33:32 +0900 |
|---|---|---|
| committer | mimaki <[email protected]> | 2014-11-18 23:33:32 +0900 |
| commit | e5bacc03f20c3be5006f0283200b48a15ff699b7 (patch) | |
| tree | 90ad5e37d5312cd2c4cb5fd2f9acf0ca2e6d5f39 /Rakefile | |
| parent | 4c7e812bc06ab5ed4d9220397998de9728ee2d7e (diff) | |
| download | mruby-e5bacc03f20c3be5006f0283200b48a15ff699b7.tar.gz mruby-e5bacc03f20c3be5006f0283200b48a15ff699b7.zip | |
Add mruby debugger (mrdb)
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 |
