Skip to content

Commit

Permalink
Do not cache the list of source_files
Browse files Browse the repository at this point in the history
This allows me to run a task which generates java source files, prior to having rake-compiler compile them.
  • Loading branch information
Scott Gonyea committed Aug 1, 2012
1 parent 2f16bcc commit 434a082
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rake/baseextensiontask.rb
Expand Up @@ -73,7 +73,7 @@ def binary(platform = nil)
end

def source_files
@source_files ||= FileList["#{@ext_dir}/#{@source_pattern}"]
FileList["#{@ext_dir}/#{@source_pattern}"]
end

def warn_once(message)
Expand Down

0 comments on commit 434a082

Please sign in to comment.