Testable install script

* wraps main code into a function
* EnvVar-based install start
* Clean environment after install
This commit is contained in:
Xavier Cambar
2014-10-22 19:43:39 +02:00
parent cec1c38a84
commit 3cdec8e875
5 changed files with 104 additions and 59 deletions

View File

@@ -0,0 +1,6 @@
#!/bin/sh
NVM_ENV=testing . ../../install.sh
#nvm_do_install is available
type nvm_do_install > /dev/null 2>&1