Sha256: 35b5366cba4c8b35090238cba4ea54a4abb7e0f6fedb23fb98b53736c910fc41

Contents?: true

Size: 254 Bytes

Versions: 1

Compression:

Stored size: 254 Bytes

Contents

require 'fileutils'
include FileUtils
require 'rbconfig'

SRC = File.expand_path('lib')
DEST = "#{Config::CONFIG['sitelibdir']}/cast"

opts = {:verbose => true}
if ARGV[0] == 'remove'
  rm_rf DEST, opts
else
  rm_rf DEST, opts
  cp_r SRC, DEST, opts
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cast-0.0.1 install.rb