mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-09-19 14:34:58 +00:00
Add support for nvm use node
, nvm use iojs
, nvm ls node
, and nvm ls iojs
Also add `nvm_version node` and `nvm_version iojs` support.
This commit is contained in:
16
test/slow/nvm use/teardown_dir
Executable file
16
test/slow/nvm use/teardown_dir
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
|
||||
. ../../../nvm.sh
|
||||
|
||||
for VERSION in "0.8.7" "0.9.1" "0.10.1" "0.11.1"; do
|
||||
nvm uninstall "$VERSION"
|
||||
done
|
||||
|
||||
for VERSION in "1.0.0" "1.0.1"; do
|
||||
nvm uninstall "iojs-v$VERSION"
|
||||
done
|
||||
|
||||
if [ -d ../../../.nvm_use_bak/* ]; then
|
||||
mv ../../../.nvm_use_bak/* ../../../
|
||||
fi
|
||||
rmdir ../../../.nvm_use_bak
|
Reference in New Issue
Block a user