Agree. I meant it doesn't look like Boolean flag to user because they just call keep_to instead of setting a value to true/false. Ill add initialization code in about an hour.

On 25/01/2013, at 9:15 PM, Henrik Feldt <notifications@github.com> wrote:

> In lib/albacore/output.rb:
> 
> > @@ -31,9 +31,9 @@ def erb(f, ft, locals)
> >      File.open("#{@dir_to}/#{ft}", 'w') {|f| f.write erb.result(ErbBinding.new(locals).get_binding)}
> >    end
> >    
> > -  def self.output_to(dir_to, dir_from)
> > -    FileUtils.rmtree dir_to
> > -    FileUtils.mkdir_p dir_to
> > +  def self.output_to(dir_to, dir_from, keep_to)
> > +    FileUtils.rmtree dir_to unless keep_to
> But it is a boolean flag ;) so let's initialize it. I think this is a good PR otherwise.
> 
> —
> Reply to this email directly or view it on GitHub.
>