diff options
| author | Yukihiro Matz Matsumoto <[email protected]> | 2013-01-12 17:23:07 +0900 |
|---|---|---|
| committer | Yukihiro Matz Matsumoto <[email protected]> | 2013-01-12 17:23:07 +0900 |
| commit | 4e50e54c5e5aa17eed60b90991e8d686a264b757 (patch) | |
| tree | 8d285fcaafa8bfb07c86a2517d801e3b9e1cc5df /Rakefile | |
| parent | c1387b86e40b310a0904ce76eae3b92eb1dd12a5 (diff) | |
| parent | 06fec34e1328aeae512e329b4e9ce654c8710a0a (diff) | |
| download | mruby-4e50e54c5e5aa17eed60b90991e8d686a264b757.tar.gz mruby-4e50e54c5e5aa17eed60b90991e8d686a264b757.zip | |
Merge branch 'master' of github.com:mruby/mruby
Diffstat (limited to 'Rakefile')
| -rw-r--r-- | Rakefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -8,7 +8,8 @@ load 'tasks/mruby_gem_spec.rake' ############################## # compile flags -load File.expand_path(ENV['CONFIG'] || './build_config.rb') +MRUBY_CONFIG = File.expand_path(ENV['MRUBY_CONFIG'] || './build_config.rb') +load MRUBY_CONFIG load 'tasks/rules.rake' load 'src/mruby_core.rake' @@ -37,9 +38,9 @@ depfiles = MRuby.targets['host'].bins.map do |bin| install_path end -depfiles += MRuby.targets.reject {|n,t| n == 'host' }.map do |n, t| +depfiles += MRuby.targets.reject {|n,t| n == 'host' }.map { |n, t| ["#{t.build_dir}/lib/libmruby.a"] + t.bins.map { |bin| exefile("#{t.build_dir}/bin/#{bin}") } -end +}.flatten desc "build all targets, install (locally) in-repo" task :all => depfiles |
