2012-10-11 07:17:09 +08:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
mkdir ../../../v0.1.3
|
|
|
|
mkdir ../../../v0.2.3
|
|
|
|
|
|
|
|
. ../../../nvm.sh
|
|
|
|
|
|
|
|
# The result should contain only the appropriate version numbers.
|
|
|
|
nvm ls 0.2 | grep v0.2.3 &&
|
2014-03-18 07:53:04 +08:00
|
|
|
nvm ls 0.1 | grep -v v0.2.3 &&
|
|
|
|
nvm ls 0.1 | grep v0.1.3 &&
|
|
|
|
nvm ls v0.2 | grep v0.2.3
|