Skip to content

Commit

Permalink
'lib/racc/parser-text.rb' depends on 'lib/racc/info.rb'
Browse files Browse the repository at this point in the history
In the rake task, `require 'racc/info'` is expanded to actual file
contents. Then 'lib/racc/parser-text.rb' depends on 'lib/racc/info.rb'.
  • Loading branch information
yui-knk committed Nov 4, 2023
1 parent 0b06f51 commit 058d170
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def jruby?
Object.const_defined?(:RUBY_ENGINE) and 'jruby' == RUBY_ENGINE
end

file 'lib/racc/parser-text.rb' => ['lib/racc/parser.rb', __FILE__] do |t|
file 'lib/racc/parser-text.rb' => ['lib/racc/parser.rb', 'lib/racc/info.rb', __FILE__] do |t|
source = 'lib/racc/parser.rb'

text = File.read(source)
Expand Down

0 comments on commit 058d170

Please sign in to comment.