Permalink
Browse files

Do not cache the list of source_files

This allows me to run a task which generates java source files, prior to having rake-compiler compile them.
  • Loading branch information...
1 parent 2f16bcc commit 434a082267a1d19f86d46dcd03fe0273bea58a37 Scott Gonyea committed Aug 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rake/baseextensiontask.rb
View
2 lib/rake/baseextensiontask.rb
@@ -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)

0 comments on commit 434a082

Please sign in to comment.