diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-01-21 00:25:58 -0800 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-01-21 00:25:58 -0800 |
| commit | 04941bc1634335c8f7fca3bafc68ca2c25969faf (patch) | |
| tree | 4f4515f5cebddf0f17d967d94072f7cfc627a9a8 /tasks/mrbgem_spec.rake | |
| parent | 8e86ff2283d427b5cb2a02607e1aab998cb5090c (diff) | |
| parent | 300f0d548b956aa6d36e1768a96fd8ec6d400297 (diff) | |
| download | mruby-04941bc1634335c8f7fca3bafc68ca2c25969faf.tar.gz mruby-04941bc1634335c8f7fca3bafc68ca2c25969faf.zip | |
Merge pull request #761 from bovi/beautify-build
Beautify build process output
Diffstat (limited to 'tasks/mrbgem_spec.rake')
| -rw-r--r-- | tasks/mrbgem_spec.rake | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tasks/mrbgem_spec.rake b/tasks/mrbgem_spec.rake index e21e0b670..bf381cf33 100644 --- a/tasks/mrbgem_spec.rake +++ b/tasks/mrbgem_spec.rake @@ -46,11 +46,15 @@ module MRuby end @rbfiles = Dir.glob("#{dir}/mrblib/*.rb") - @objs = Dir.glob("#{dir}/src/*.{c,cpp,m,asm,S}").map { |f| objfile(f.relative_path_from(@dir).to_s.pathmap("#{build_dir}/%X")) } + @objs = Dir.glob("#{dir}/src/*.{c,cpp,m,asm,S}").map do |f| + objfile(f.relative_path_from(@dir).to_s.pathmap("#{build_dir}/%X")) + end @objs << objfile("#{build_dir}/gem_init") @test_rbfiles = Dir.glob("#{dir}/test/*.rb") - @test_objs = Dir.glob("#{dir}/test/*.{c,cpp,m,asm,S}").map { |f| objfile(f.relative_path_from(dir).to_s.pathmap("#{build_dir}/%X")) } + @test_objs = Dir.glob("#{dir}/test/*.{c,cpp,m,asm,S}").map do |f| + objfile(f.relative_path_from(dir).to_s.pathmap("#{build_dir}/%X")) + end @test_preload = 'test/assert.rb' instance_eval(&@initializer) |
