Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

15 lines (12 sloc) 0.412 kB
require 'rbconfig'
require 'ftools'
# Install lib
dst_dir = Config::CONFIG['sitelibdir']
Dir.chdir('lib') {
Dir['**/*'].reject {|f| f =~ /\.svn($|\/)/ or not File.file?(f) }.each {|file|
File.mkpath File.join(dst_dir, File.dirname(file)), true
File.install file, File.join(dst_dir, file), 0644, true
}
}
# Install bin
File.install 'bin/wee', File.join(Config::CONFIG['bindir'], 'wee'), 0755, true
Jump to Line
Something went wrong with that request. Please try again.