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-2.1.1 lib/jets/commands/clean/build.rb
jets-2.1.0 lib/jets/commands/clean/build.rb
jets-2.0.6 lib/jets/commands/clean/build.rb
jets-2.0.5 lib/jets/commands/clean/build.rb
jets-2.0.4 lib/jets/commands/clean/build.rb
jets-2.0.3 lib/jets/commands/clean/build.rb
jets-2.0.1 lib/jets/commands/clean/build.rb
jets-2.0.0 lib/jets/commands/clean/build.rb
jets-1.9.32 lib/jets/commands/clean/build.rb
jets-1.9.31 lib/jets/commands/clean/build.rb
jets-1.9.30 lib/jets/commands/clean/build.rb
jets-1.9.29 lib/jets/commands/clean/build.rb
jets-1.9.28 lib/jets/commands/clean/build.rb
jets-1.9.27 lib/jets/commands/clean/build.rb
jets-1.9.26 lib/jets/commands/clean/build.rb
jets-1.9.25 lib/jets/commands/clean/build.rb
jets-1.9.24 lib/jets/commands/clean/build.rb
jets-1.9.23 lib/jets/commands/clean/build.rb
jets-1.9.22 lib/jets/commands/clean/build.rb
jets-1.9.21 lib/jets/commands/clean/build.rb