Add iojs support to "install"

This commit is contained in:
Jordan Harband
2015-01-13 17:52:18 -08:00
parent dd3a3763ce
commit 952096d034
9 changed files with 226 additions and 9 deletions

View File

@@ -5,6 +5,6 @@ die () { echo $@ ; exit 1; }
. ../../nvm.sh
nvm install 0.6.21 || die 'v0.6.21 installation failed'
[ "$(node -v)" = "v0.6.21-pre" ] || die "v0.6.21-pre not installed with v0.6.21, got $(node -v)"
[ "$(nvm current)" = "v0.6.21" ] || die "v0.6.21-pre not reported as v0.6.21, got $(nvm current)"
[ "_$(node -v)" = "_v0.6.21-pre" ] || die "v0.6.21-pre not installed with v0.6.21, got $(node -v)"
[ "_$(nvm current)" = "_v0.6.21" ] || die "v0.6.21-pre not reported as v0.6.21, got $(nvm current)"