Organizing nvm install tests better.

This commit is contained in:
Jordan Harband committed 2014-04-19 16:48:43 -07:00
1 parent c188c1b11a
commit 55a6f1f06e
3 files changed

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
#!/bin/sh
set -e
. ../../nvm.sh
VERSION=v0.10.7
# Remove the stuff we're clobbering.
[ -e ../../$VERSION ] && rm -R ../../$VERSION
# Install from binary
nvm install $VERSION
# Check
[ -d ../../$VERSION ]
nvm run $VERSION --version | grep $VERSION