Wed, 21 Oct 2015 18:27:32 -0400
Add ndenv
.homedir-setup.rb | file | annotate | diff | comparison | revisions |
--- a/.homedir-setup.rb +++ b/.homedir-setup.rb @@ -99,6 +99,21 @@ def setup end # }}} + + # ndenv {{{ + if Dir.exists?('.ndenv') + puts "ndenv already installed" + else + puts "Installing ndenv..." + + do_cmds \ + 'git clone https://github.com/riywo/ndenv.git .ndenv', + 'git clone https://github.com/riywo/node-build.git .ndenv/plugins/node-build' + + end + # }}} + + end def update @@ -109,6 +124,8 @@ def update '.plenv/plugins/perl-build', '.rbenv', '.rbenv/plugins/ruby-build', + '.ndenv', + '.ndenv/plugins/node-build', ].each do |dir| do_cmds \ "cd ~/#{dir} && git pull origin master"