Parcourir la source

Move before_compile to be really first.

Noah Kantrowitz il y a 12 ans
Parent
commit
7b1f184c31
1 fichiers modifiés avec 1 ajouts et 4 suppressions
  1. 1 4
      providers/default.rb

+ 1 - 4
providers/default.rb

@@ -26,6 +26,7 @@ action :deploy do
 
   new_resource.sub_resources.each do |resource|
     resource.application_provider self
+    resource.run_action :before_compile
   end
 
   new_resource.packages.each do |pkg,ver|
@@ -74,10 +75,6 @@ action :deploy do
     end
   end
 
-  new_resource.sub_resources.each do |resource|
-    resource.run_action :before_compile
-  end
-
   ruby_block "#{new_resource.id} before_deploy" do
     block do
       new_resource.sub_resources.each do |resource|