Restructuring & cleaning dotfiles, install script

This commit is contained in:
Nick Nisi
2012-04-30 18:34:37 -05:00
parent 4621ad16e0
commit a2ce0c7860
9 changed files with 16 additions and 2419 deletions

16
Rakefile Normal file
View File

@@ -0,0 +1,16 @@
require 'rake'
# loosely based on zholman's install script
desc "create all the symlinks"
task :install do
linkables = Dir.glob('*/**{.symlink}')
linkables.each do |linkable|
file = linkable.split('/').last.split('.symlink').last
target = "#{ENV["HOME"]}/.#{file}"
`ln -s "$PWD/#{linkable}" "#{target}"`
end
end
task :default => 'install'

File diff suppressed because it is too large Load Diff