File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,9 +10,9 @@ require 'rake/clean'
1010task default : %w[ test ]
1111rubyc_deps = FileList [ File . expand_path ( '**/*' , __dir__ ) ] - [ File . expand_path ( ( ( Gem . win_platform? ? 'rubyc.exe' : 'rubyc' ) ) , __dir__ ) ]
1212
13- desc "build #{ ( Gem . win_platform? ? 'rubyc.exe' : 'rubyc' ) } "
13+ desc "build #{ Gem . win_platform? ? 'rubyc.exe' : 'rubyc' } "
1414file ( ( Gem . win_platform? ? 'rubyc.exe' : 'rubyc' ) => rubyc_deps ) do
15- warn "Rebuilding #{ ( Gem . win_platform? ? 'rubyc.exe' : 'rubyc' ) } ..."
15+ warn "Rebuilding #{ Gem . win_platform? ? 'rubyc.exe' : 'rubyc' } ..."
1616
1717 # don't include rubyc in rubyc
1818 rm_f ( Gem . win_platform? ? 'rubyc.exe' : 'rubyc' )
Original file line number Diff line number Diff line change @@ -46,11 +46,11 @@ def ruby(*args)
4646
4747 flunk <<~MESSAGE unless status . success?
4848 failed to run ruby #{ args . join ' ' }
49-
49+
5050 -------- <stdout> ----------
5151 #{ stdout . read }
5252 -------- <stdout> ----------
53-
53+
5454 -------- <stderr> ----------
5555 #{ stderr . read }
5656 -------- <stderr> ----------
@@ -79,11 +79,11 @@ def rubyc(*args)
7979
8080 flunk <<~MESSAGE unless status . success?
8181 failed to run rubyc #{ args . join ' ' }
82-
82+
8383 -------- <stdout> ----------
8484 #{ stdout . read }
8585 -------- <stdout> ----------
86-
86+
8787 -------- <stderr> ----------
8888 #{ stderr . read }
8989 -------- <stderr> ----------
You can’t perform that action at this time.
0 commit comments