mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-10-30 17:25:51 +08:00
Testable install script
* wraps main code into a function * EnvVar-based install start * Clean environment after install
This commit is contained in:
6
test/install_script/nvm_do_install
Executable file
6
test/install_script/nvm_do_install
Executable 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
|
||||
Reference in New Issue
Block a user