From d1f474c2398fec7374ffa66fa0cd308334e68d3f Mon Sep 17 00:00:00 2001 From: cremno Date: Tue, 11 Feb 2014 08:01:17 +0100 Subject: Rakefile: make bin directory --- Rakefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Rakefile') diff --git a/Rakefile b/Rakefile index 67aa64d4e..c7d70797e 100644 --- a/Rakefile +++ b/Rakefile @@ -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| -- cgit v1.2.3