Sha256: bf96a25c47487ce62cbe79c7b39ac5c3fb0a7b733632ad2d210656feba8a1c25

Contents?: true

Size: 246 Bytes

Versions: 47

Compression:

Stored size: 246 Bytes

Contents

require "fileutils"

class Lono::Clean
  attr_reader :options
  def initialize(options)
    @options = options
  end

  def run
    puts "Cleaning up"
    puts "Removing output/ folder"
    FileUtils.rm_rf("#{Lono.config.output_path}")
  end
end

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
lono-5.2.7 lib/lono/clean.rb
lono-5.2.6 lib/lono/clean.rb
lono-5.2.5 lib/lono/clean.rb
lono-5.2.4 lib/lono/clean.rb
lono-5.2.3 lib/lono/clean.rb
lono-5.2.2 lib/lono/clean.rb
lono-5.2.1 lib/lono/clean.rb
lono-5.2.0 lib/lono/clean.rb
lono-5.1.1 lib/lono/clean.rb
lono-5.1.0 lib/lono/clean.rb
lono-5.0.1 lib/lono/clean.rb
lono-4.2.7 lib/lono/clean.rb
lono-4.2.6 lib/lono/clean.rb
lono-4.2.5 lib/lono/clean.rb
lono-4.2.4 lib/lono/clean.rb
lono-4.2.3 lib/lono/clean.rb
lono-4.2.2 lib/lono/clean.rb
lono-4.2.1 lib/lono/clean.rb
lono-4.2.0 lib/lono/clean.rb
lono-4.1.0 lib/lono/clean.rb