Skip to content

Commit

Permalink
Include the name of the template file instead of just rake
Browse files Browse the repository at this point in the history
  • Loading branch information
larskanis committed May 17, 2019
1 parent bc99b7e commit 7efdd2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ffi/tools/generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def initialize(ffi_name, rb_name, options = {})
end

open @rb_name, 'w' do |f|
f.puts "# This file is generated by rake. Do not edit."
f.puts "# This file is generated from `#{@ffi_name}'. Do not edit."

This comment was marked as resolved.

Copy link
@Giangpro89

Giangpro89 Mar 4, 2023

f.puts
f.puts new_file
end
Expand Down

0 comments on commit 7efdd2e

Please sign in to comment.