17 lines
255 B
Plaintext
17 lines
255 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
set -e
|
||
|
. ../../nvm.sh
|
||
|
|
||
|
VERSION=v0.10.7
|
||
|
|
||
|
# Remove the stuff we're clobbering.
|
||
|
[ -e ../../$VERSION ] && rm -R ../../$VERSION
|
||
|
|
||
|
# Install from source
|
||
|
nvm install -s $VERSION
|
||
|
|
||
|
# Check
|
||
|
[ -d ../../$VERSION ]
|
||
|
nvm run $VERSION --version | grep $VERSION
|