Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (15 sloc) 401 Bytes
require 'fileutils'
desc "Links dotfiles and dirs in the home directory"
task :link do
current_dir = FileUtils.pwd
%w{vimrc gvimrc}.each do |file|
FileUtils.ln_s("#{current_dir}/#{file}", "#{ENV["HOME"]}/.#{file}")
end
FileUtils.ln_s("#{current_dir}", "#{ENV["HOME"]}/.vim")
end
task :build do
Dir.chdir('bundle/command-t/ruby/command-t') do
`ruby extconf.rb`
`make`
end
end