Koen Punt
1fac49f887
replaced undocumented option for specifying the profile as first argument to specifying it as a environment variable (eg: PROFILE=~/.myprofile ./install-gitless.sh)
...
also; fixed indentation and added .zshrc as possible profile
11 years ago
Koen Punt
d2422a623a
made NVM_DIR and NVM_SOURCE configurable using environment variables
11 years ago
Koen Punt
fcc00b22b7
don't make use of pushd and popd as they are not universal
11 years ago
Koen Punt
0787a55999
replaced fatalExit function for 'inline' exit
...
exit on errors (set -e)
simplified if for NVM_DIR and NVM_SOURCE, corrected indentation
11 years ago
Jordan Harband
7c45d62b37
Merge pull request #388 from koenpunt/small-fixes
...
Use NVM_ prefix for non local variables
11 years ago
Koen Punt
ec7909dcd3
Use NVM_ prefix for variables
11 years ago
Jordan Harband
cf5f195d75
Merge pull request #387 from koenpunt/patch-1
...
Add travis badge to README
11 years ago
Koen Punt
9f0520cdd0
Add travis badge to README
11 years ago
Jordan Harband
d950c1a0ea
Adding a trailing newline
11 years ago
Jordan Harband
6123fbcd31
Merge pull request #386 from koenpunt/multi-shell-test
...
Add Makefile for multishell testing
11 years ago
Koen Punt
def7ec5364
install shells before running tests
11 years ago
Koen Punt
52a384a0cc
Add Makefile for multishell testing
...
updated nvm current test for zsh
11 years ago
Jordan Harband
ba1e2f1cdf
Merge pull request #382 from koenpunt/version-normalizing
...
Fix nvm ls for v* numbers
11 years ago
Jordan Harband
625e54880f
Merge pull request #374 from koenpunt/fix-tests
...
Fix NVM_DIR discovery
11 years ago
Jordan Harband
cebda7d35a
When curl is not present, immediately bail out of `nvm install` with a nonzero exit code. Fixes #385 .
11 years ago
Koen Punt
4a9a15c404
Fix NVM_DIR discovery
11 years ago
Jordan Harband
31c5406780
Adding an `nvm --version` command
11 years ago
Koen Punt
a34c080d77
Fix nvm ls for v* numbers
...
Previously calling nvm ls with v* number (nvm ls v0.2)
would not return any results.
So now the v is prepended if its not already there
11 years ago
Koen Punt
0b97ee1d2a
Failing test for when using nvm ls with v* version
11 years ago
Jordan Harband
1ded21c10d
Merge pull request #383 from koenpunt/nvm-prefixed
...
define all functions with nvm_ prefix
11 years ago
Koen Punt
e30424d22f
define all functions with nvm_ prefix
11 years ago
Jordan Harband
78e7aa6b67
Merge pull request #380 from koenpunt/fix-current-test
...
Double == causes error on travis (dash shell)
11 years ago
Koen Punt
ae4c841742
Double == causes error on travis (dash shell)
11 years ago
Jordan Harband
4f9324c439
Merge pull request #377 from koenpunt/remove-obscure-echo-test
...
Replaced echo for printf when using formatted strings
11 years ago
Jordan Harband
020f61500f
Merge pull request #378 from koenpunt/ci
...
Added travis config, fixed tests for use on travis
11 years ago
Koen Punt
38a0c997e2
Added travis config, fixed tests for use on travis
11 years ago
Koen Punt
70f1734c12
updated tests for altered output
11 years ago
Koen Punt
1d40a5bc8b
Replaced echo for printf when using formatted strings
...
Updated version list, now also compatible with zsh
11 years ago
Jordan Harband
db4c582d79
Merge pull request #366 from messju/nvm_version_fix
...
fixed nvm_version result when multiple versions match the given pattern
11 years ago
messju mohr
e46ee7b30b
added test for using the latest of two versions
11 years ago
messju mohr
f82f38be90
fixed nvm_version result when multiple versions match the given pattern
11 years ago
Jordan Harband
3a21485050
Files should end in trailing newlines
11 years ago
Jordan Harband
e6887d500f
Merge pull request #319 from koenpunt/nvm-exec
...
nvm exec wrapper to execute commands with a specific node version
11 years ago
Jordan Harband
472d23b990
Merge pull request #372 from koenpunt/patch-1
...
Use has util method and use comparison opts
11 years ago
Koen Punt
1a19de9d20
Use has util method and use comparison opts
11 years ago
Koen Punt
f3d1770e3e
nvm exec wrapper to execute commands with a specific node version
11 years ago
Jordan Harband
ba2a850253
Adding a CONTRIBUTING.md file
11 years ago
Jordan Harband
618a372f38
Unset the executable bit on nvm.sh, since it's meant to be sourced
11 years ago
Jordan Harband
a09a028c38
Merge pull request #270 from hachre/patch-1
...
Switch from /bin/sh to /bin/bash
11 years ago
Jordan Harband
d78905988e
Merge pull request #310 from danieltdt/grep-options
...
Overwritting GREP_OPTIONS on local script
11 years ago
Daniel Teixeira
8cceae3cc1
Overwritting GREP_OPTIONS on local script
...
(recommiting to automerge into current master)
11 years ago
Jordan Harband
192e381971
Merge pull request #370 from jpadilla/patch-1
...
Detect if curl or wget is installed to download NVM_SOURCE
11 years ago
José Padilla
966ff0e1b0
Fix for running with bash, sh, and zsh
11 years ago
José Padilla
b90a0a811e
Use 2-space indentation for consistency
11 years ago
José Padilla
25ca41c9dc
Detect if curl or wget is installed
11 years ago
Jordan Harband
0d44ed1126
Merge pull request #364 from frasertweedale/fix/portability
...
Fix/portability
11 years ago
Jordan Harband
dc53a37d4f
Merge pull request #277 from frasertweedale/fix/freebsd-sha1
...
support FreeBSD's sha1(1) for integrity checks
11 years ago
Fraser Tweedale
332ae1afcb
use a more portable release in install tests
...
The tests for nvm install currently install v0.8.6, which doesn't
build on FreeBSD due to Linuxisms. Switch to a more recent version
that does work.
11 years ago
Fraser Tweedale
9108a7f7fa
remove duplicate install test
...
`test/slow/install` is identical to `test/slow/install from source`
except in the version installed. Remove it.
11 years ago
Fraser Tweedale
3b21b76106
fix install from source on FreeBSD 10
...
Compile with CXX=c++ on FreeBSD, as FreeBSD >= 10.0 no longer has
GCC in the base system (c++ is hardlinked to clang++ on FreeBSD 10.0
and g++ on FreeBSD < 10).
11 years ago