20 lines
574 B
Ruby
Executable File
20 lines
574 B
Ruby
Executable File
#!/usr/bin/env ruby
|
|
require File.join(File.dirname(__FILE__), 'default_libs')
|
|
|
|
GitStyleBinary.command do
|
|
version "yadr-init-plugins 1.0"
|
|
|
|
short_desc "Initialize all submodules. Run this every time you pull a new yadr version."
|
|
|
|
run do |command|
|
|
system("cd ~/.dotfiles && git submodule init && git submodule update")
|
|
|
|
# Compile Command-T
|
|
if File.directory?(File.expand_path("~/.dotfiles/vim/bundle/wincent-Command-T"))
|
|
puts "Compiling Command-T plugin..."
|
|
system("cd ~/.dotfiles/vim/bundle/wincent-Command-T && rake make")
|
|
end
|
|
end
|
|
|
|
end
|