Skip to content

Commit

Permalink
Rakefile: make bin directory
Browse files Browse the repository at this point in the history
  • Loading branch information
cremno committed Feb 11, 2014
1 parent 27dbcd0 commit d1f474c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Rakefile
Expand Up @@ -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|
Expand Down

0 comments on commit d1f474c

Please sign in to comment.