Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

require core library first

  • Loading branch information...
commit 2664a8c01add397cb81037acd458edb1719583e9 1 parent dbe859c
Dan Peterson authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 lib/vlad.rb
View
6 lib/vlad.rb
@@ -66,7 +66,11 @@ def self.load options = {}
:scm => :subversion,
:web => :apache,
}.merge(options)
-
+
+ # be sure core comes first so base tasks aren't clobbered
+ if core = recipes.delete(:core)
+ require "vlad/#{core}"
+ end
recipes.each do |flavor, recipe|
next if recipe.nil? or flavor == :config
require "vlad/#{recipe}"
Please sign in to comment.
Something went wrong with that request. Please try again.