aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/nvm.rb23
1 files changed, 12 insertions, 11 deletions
diff --git a/Library/Formula/nvm.rb b/Library/Formula/nvm.rb
index 1591390cd..8fc672932 100644
--- a/Library/Formula/nvm.rb
+++ b/Library/Formula/nvm.rb
@@ -1,23 +1,24 @@
-require 'formula'
+require "formula"
class Nvm < Formula
- homepage 'https://github.com/creationix/nvm'
- head 'https://github.com/creationix/nvm.git'
- url 'https://github.com/creationix/nvm/archive/v0.6.1.tar.gz'
- sha1 '0b5e70dd4531f7526afd6c9417f2e4ce17cb46bc'
+ homepage "https://github.com/creationix/nvm"
+ head "https://github.com/creationix/nvm.git"
+ url "https://github.com/creationix/nvm/archive/v0.7.0.tar.gz"
+ sha1 "7de985330c8883396718494bd3b4dc75b29b3086"
def install
- prefix.install 'nvm.sh'
- bash_completion.install 'bash_completion' => 'nvm'
+ prefix.install "nvm.sh"
+ bash_completion.install "bash_completion" => "nvm"
end
- def caveats;
- <<-EOS.undent
- Add the following to $HOME/.bashrc, $HOME/.zshrc, or your shell's equivalent configuration file:
+ def caveats; <<-EOS.undent
+ Add the following to $HOME/.bashrc, $HOME/.zshrc, or your shell's
+ equivalent configuration file:
source $(brew --prefix nvm)/nvm.sh
- Node installs will be lost upon upgrading nvm. Add the following above the source line to move install location and prevent this:
+ Node installs will be lost upon upgrading nvm. Add the following above
+ the source line to move install location and prevent this:
export NVM_DIR=~/.nvm