Sha256: a823b36038547a6d4dd1c5ef900aacf5af2d9bc80c8b09a05904bf3a2c9b1105

Contents?: true

Size: 293 Bytes

Versions: 13

Compression:

Stored size: 293 Bytes

Contents

require "fileutils"

class Lono::Clean
  attr_reader :options
  def initialize(options)
    @options = options
    @project_root = options[:project_root] || '.'
  end

  def run
    puts "Cleaning up"
    puts "Removing output/ folder"
    FileUtils.rm_rf("#{@project_root}/output")
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
lono-3.4.1 lib/lono/clean.rb
lono-3.4.0 lib/lono/clean.rb
lono-3.3.4 lib/lono/clean.rb
lono-3.3.2 lib/lono/clean.rb
lono-3.3.0 lib/lono/clean.rb
lono-3.2.1 lib/lono/clean.rb
lono-3.2.0 lib/lono/clean.rb
lono-3.1.3 lib/lono/clean.rb
lono-3.1.2 lib/lono/clean.rb
lono-3.1.1 lib/lono/clean.rb
lono-3.0.1 lib/lono/clean.rb
lono-3.0.0 lib/lono/clean.rb
lono-2.1.0 lib/lono/clean.rb