Sha256: 6bbbb71aac5293845099b6ca8045db7d5747cc937a080ab0ab8f26ec006d7e8a

Contents?: true

Size: 295 Bytes

Versions: 1

Compression:

Stored size: 295 Bytes

Contents

module  Opsk
  class Clean < Thor::Group
    include Thorable, Thor::Actions

    def meta 
	 OpenStruct.new(YAML.load_file('opsk.yml'))
    end

    def name 
     	File.basename(Dir.getwd)
    end

    def cleanup
	remove_dir('pkg')
	remove_dir("#{name}-#{meta.version}")
    end

  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
opskeleton-0.3.3 lib/opskeleton/clean.rb