diff options
| author | cremno <[email protected]> | 2014-02-11 08:01:17 +0100 |
|---|---|---|
| committer | cremno <[email protected]> | 2014-02-12 00:04:42 +0100 |
| commit | d1f474c2398fec7374ffa66fa0cd308334e68d3f (patch) | |
| tree | c78e0814195aa944bac1368b4c5e21717b283d35 | |
| parent | 27dbcd0f0d6f6144d5d59d215131bdbafda14f46 (diff) | |
| download | mruby-d1f474c2398fec7374ffa66fa0cd308334e68d3f.tar.gz mruby-d1f474c2398fec7374ffa66fa0cd308334e68d3f.zip | |
Rakefile: make bin directory
| -rw-r--r-- | Rakefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -33,8 +33,11 @@ load "#{MRUBY_ROOT}/test/mrbtest.rake" # generic build targets, rules task :default => :all +bin_path = "#{MRUBY_ROOT}/bin" +FileUtils.mkdir_p bin_path, { :verbose => $verbose } + depfiles = MRuby.targets['host'].bins.map do |bin| - install_path = MRuby.targets['host'].exefile("#{MRUBY_ROOT}/bin/#{bin}") + install_path = MRuby.targets['host'].exefile("#{bin_path}/#{bin}") source_path = MRuby.targets['host'].exefile("#{MRuby.targets['host'].build_dir}/bin/#{bin}") file install_path => source_path do |t| |
