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-6.1.11 lib/lono/clean.rb
lono-6.1.10 lib/lono/clean.rb
lono-6.1.9 lib/lono/clean.rb
lono-6.1.8 lib/lono/clean.rb
lono-6.1.7 lib/lono/clean.rb
lono-6.1.6 lib/lono/clean.rb
lono-6.1.5 lib/lono/clean.rb
lono-6.1.4 lib/lono/clean.rb
lono-6.1.3 lib/lono/clean.rb
lono-6.1.2 lib/lono/clean.rb
lono-6.1.1 lib/lono/clean.rb
lono-6.1.0 lib/lono/clean.rb
lono-6.0.1 lib/lono/clean.rb
lono-6.0.0 lib/lono/clean.rb
lono-5.3.4 lib/lono/clean.rb
lono-5.3.3 lib/lono/clean.rb
lono-5.3.2 lib/lono/clean.rb
lono-5.3.1 lib/lono/clean.rb
lono-5.3.0 lib/lono/clean.rb
lono-5.2.8 lib/lono/clean.rb