You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
658 B
Bash
25 lines
658 B
Bash
#!/bin/sh
|
|
|
|
. ../../../nvm.sh
|
|
|
|
mkdir ../../../v0.0.1
|
|
mkdir ../../../v0.0.3
|
|
mkdir ../../../v0.0.9
|
|
mkdir ../../../v0.3.1
|
|
mkdir ../../../v0.3.3
|
|
mkdir ../../../v0.3.9
|
|
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
|
|
|
|
# The result should contain the version numbers.
|
|
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
|