Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Misc rake changes

  • Loading branch information...
commit 3b3aa46ce7e96bc25e5d222128add94b20323fd8 1 parent aaa81f3
@mtrudel authored
Showing with 6 additions and 5 deletions.
  1. +6 −5 Rakefile
View
11 Rakefile
@@ -1,18 +1,19 @@
Path = File.dirname(__FILE__)
+task :default => :install
+task :install => [:rcfiles, :submodules, :build]
+
task :rcfiles do
%w(.vimrc .gvimrc).each do |file|
- `ln -sfn #{File.join(Path, file)} $HOME`
+ system "ln -sfn #{File.join(Path, file)} $HOME"
end
end
task :submodules do
- `git submodule update --init`
+ system "git submodule update --init"
end
task :build do
- `cd #{File.join(Path, "bundle", "command-t")} ; rvm use system ; rake make`
+ system "cd #{File.join(Path, "bundle", "command-t")} ; rvm system do rake make"
end
-task :install => [:rcfiles, :submodules, :build]
-task :default => :install
Please sign in to comment.
Something went wrong with that request. Please try again.