diff options
| author | Adam Vandenberg | 2014-05-16 07:47:02 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2014-05-16 07:47:02 -0700 |
| commit | 10e6ba42f2259de624d4a644bd4a55719e3fe5d8 (patch) | |
| tree | e14198d2001d1a9055f30ef479ff11b74c9525c3 | |
| parent | ffdedb1336054d653a7f9a1e3463617a33acca27 (diff) | |
| download | homebrew-10e6ba42f2259de624d4a644bd4a55719e3fe5d8.tar.bz2 | |
nvm 0.70
| -rw-r--r-- | Library/Formula/nvm.rb | 23 |
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 |
