2012-10-11 07:17:09 +08:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
. ../../../nvm.sh
|
|
|
|
|
2014-02-19 14:07:25 +08:00
|
|
|
mkdir ../../../v0.0.1
|
|
|
|
mkdir ../../../v0.0.3
|
|
|
|
mkdir ../../../v0.0.9
|
|
|
|
mkdir ../../../v0.3.1
|
|
|
|
mkdir ../../../v0.3.3
|
|
|
|
mkdir ../../../v0.3.9
|
2015-01-13 10:16:11 +08:00
|
|
|
mkdir -p ../../../versions/node/v0.12.87
|
|
|
|
mkdir -p ../../../versions/node/v0.12.9
|
|
|
|
mkdir -p ../../../versions/io.js/v0.1.2
|
|
|
|
mkdir -p ../../../versions/io.js/v0.10.2
|
2012-10-11 07:17:09 +08:00
|
|
|
|
|
|
|
# The result should contain the version numbers.
|
2015-01-13 10:16:11 +08:00
|
|
|
nvm ls | grep v0.0.1 >/dev/null &&
|
|
|
|
nvm ls | grep v0.0.3 >/dev/null &&
|
|
|
|
nvm ls | grep v0.0.9 >/dev/null &&
|
|
|
|
nvm ls | grep v0.3.1 >/dev/null &&
|
|
|
|
nvm ls | grep v0.3.3 >/dev/null &&
|
|
|
|
nvm ls | grep v0.3.9 >/dev/null &&
|
|
|
|
nvm ls | grep v0.12.87 >/dev/null &&
|
|
|
|
nvm ls | grep iojs-v0.1.2 >/dev/null
|