diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-02-12 09:28:50 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-02-12 09:28:50 +0900 |
| commit | 4558b29719c119ffd9aa71dfa42fee72bf7e1db1 (patch) | |
| tree | 779eda6502e79c3ab59757b1c652d9be41cc32d4 /Rakefile | |
| parent | 67d63387ee941601ae42d379bbccadb176ccd513 (diff) | |
| parent | d1f474c2398fec7374ffa66fa0cd308334e68d3f (diff) | |
| download | mruby-4558b29719c119ffd9aa71dfa42fee72bf7e1db1.tar.gz mruby-4558b29719c119ffd9aa71dfa42fee72bf7e1db1.zip | |
Merge pull request #1694 from cremno/rakefile-mkdir-bin-path
Rakefile: make bin directory
Diffstat (limited to 'Rakefile')
| -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| |
