Sha256: 11917ae5482320c087ba5f10d49dd98041551e2c2fbc2ce9b371bb613cfd5303

Contents?: true

Size: 265 Bytes

Versions: 238

Compression:

Stored size: 265 Bytes

Contents

require 'fileutils'

class Jets::Commands::Clean
  class Build < Base
    def clean
      are_you_sure?("delete /tmp/jets")

      say "Removing /tmp/jets..."
      FileUtils.rm_rf("/tmp/jets") unless @options[:noop]
      say "Removed /tmp/jets"
    end
  end
end

Version data entries

238 entries across 238 versions & 4 rubygems

Version Path
jets-1.9.20 lib/jets/commands/clean/build.rb
jets-1.9.19 lib/jets/commands/clean/build.rb
jets-1.9.18 lib/jets/commands/clean/build.rb
jets-1.9.17 lib/jets/commands/clean/build.rb
jets-1.9.16 lib/jets/commands/clean/build.rb
jets-1.9.15 lib/jets/commands/clean/build.rb
jets-1.9.14 lib/jets/commands/clean/build.rb
jets-1.9.13 lib/jets/commands/clean/build.rb
jets-1.9.12 lib/jets/commands/clean/build.rb
jets-1.9.11 lib/jets/commands/clean/build.rb
jets-1.9.10 lib/jets/commands/clean/build.rb
jets-1.9.9 lib/jets/commands/clean/build.rb
jets-1.9.8 lib/jets/commands/clean/build.rb
jets-1.9.7 lib/jets/commands/clean/build.rb
jets-1.9.6 lib/jets/commands/clean/build.rb
jets-1.9.5 lib/jets/commands/clean/build.rb
jets-1.9.4 lib/jets/commands/clean/build.rb
jets-1.9.3 lib/jets/commands/clean/build.rb
jets-1.9.2 lib/jets/commands/clean/build.rb
jets-1.9.1 lib/jets/commands/clean/build.rb