Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

temporarily work around an issue in rakep

  • Loading branch information...
commit 83debb9b7228cfef00b84bb35e5b9ebedf758f6a 1 parent 3d12439
@krisselden krisselden authored
Showing with 10 additions and 1 deletion.
  1. +10 −1 spec/neuter_filter_spec.rb
View
11 spec/neuter_filter_spec.rb
@@ -25,7 +25,16 @@ def make_filter(input_files, *args)
filter.input_files = input_files
filter.output_root = "/path/to/output"
filter.rake_application = Rake::Application.new
- filter.generate_rake_tasks.each(&:invoke)
+
+ tasks = filter.generate_rake_tasks
+
+ # TODO work around a bug in rakep THIS IS TEMPORARY

Can you tell me what the bug is? IIRC neuter in master must have explicitly declared dependencies for it work correctly. This depends on your invocation. You have to pass :additional_dependencies or something like that to the constructor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
+ filter.rake_application.tasks.each do |task|
+ task.dynamic_prerequisites.each do |prereq|
+ filter.send :create_file_task, prereq
+ end
+ end
+ tasks.each(&:invoke)
filter
end
Please sign in to comment.
Something went wrong with that request. Please try again.