lib/fezzik/base.rb in fezzik-0.7.0 vs lib/fezzik/base.rb in fezzik-0.7.1
- old
+ new
@@ -9,10 +9,9 @@
puts "Loading Fezzik tasks from #{@options[:tasks]}"
Dir[File.join(Dir.pwd, "#{@options[:tasks]}/**/*.rake")].sort.each { |lib| import lib }
end
end
- # TODO: add domain override (through environment variable?)
def self.destination(name, &block)
block.call if name == @target_destination
end
def self.target_destination