2012-10-11 07:17:09 +08:00
|
|
|
#!/bin/sh
|
|
|
|
|
2016-07-07 15:00:59 +08:00
|
|
|
set -ex
|
|
|
|
|
2016-11-04 13:15:18 +08:00
|
|
|
\. ../../nvm.sh
|
2016-07-07 15:00:59 +08:00
|
|
|
|
2012-10-11 07:17:09 +08:00
|
|
|
nvm alias test v0.1.2
|
2016-07-07 15:00:59 +08:00
|
|
|
|
|
|
|
[ "$(cat "$(nvm_alias_path)/test")" = "v0.1.2" ]
|