Commit Graph

26 Commits (9352f6913a2690905e1a9e91eb634911ec09a7c8)

Author SHA1 Message Date
Peter Dave Hello 9593616b8c [Fix] NVM_PROFILE bash/zsh detection in installation 2017-03-15 14:34:28 +08:00
Jordan Harband 6fc0241c21
[Fix] `install.sh`: only un-interpolate $HOME for the profile source string.
Fixes #1384.
2017-02-12 00:32:49 -08:00
Ryan Wheale 1b2305232f
[install script] Use `$HOME` variable in `NVM_DIR` 2017-01-12 10:55:56 -07:00
Peter Dave Hello f7763c8ba9
[Tests] die() in tests should quote "$@" for echo 2016-11-07 03:34:36 +08:00
Qiangjun Ran cadbbced20
[Tests] Replace all dots with backslash dots 2016-11-03 23:44:59 -07:00
Jordan Harband ecba036cbf
[Tests] show `type` output for debugging 2015-12-21 23:59:44 -08:00
Xavier Cambar 6cee20a071 testing NVM_DIR 2016-06-28 12:36:08 +02:00
Matthew Campbell 4f4ff208eb Improve error messages 2016-01-02 11:16:50 -05:00
Matthew Campbell 78fee866f5 Remove usage of declare 2016-01-01 22:33:45 -05:00
Matthew Campbell 8dc53d4dd5 Refactor and fix nvm_detect_profile tests
close #833
close #957
2016-01-01 20:45:36 -05:00
Matthew Campbell 645bda4987 Addresses comments to close #833 2016-01-01 14:09:35 -05:00
David Mankin 918fcb4bd2 PROFILE env var should override detected profile
Add tests for PROFILE overriding detected files
2016-01-01 14:00:36 -05:00
David Mankin cb138a1815 Fix error messages in tests 2016-01-01 13:34:34 -05:00
Cristian Consonni c37dbbecb4 Detect shell type from $SHELL variable instead of .$SHELLrc files 2015-07-19 02:03:15 +02:00
Jordan Harband bb2fe618cb The install script only runs in bash. 2015-04-27 16:55:21 -07:00
Jordan Harband f0d81e2d33 Revert "install: adding some debugging output"
This reverts commit c8efe3d28a.

Conflicts:
	install.sh
2015-02-09 17:16:56 -08:00
elliottcable a216f56443 tests: fail install_script test if npm can't install package 2015-02-07 20:53:53 -06:00
elliottcable c8efe3d28a install: adding some debugging output 2015-02-07 20:50:10 -06:00
elliottcable 0717d5f995 install: some tweaks and clean-up 2015-02-07 17:17:43 -06:00
elliottcable 6cfc309336 install: Pass global-module check in the absence of npm 2015-02-07 17:17:43 -06:00
elliottcable 4ba7ee5797 install: Show a warning when global packages exist 2015-02-07 17:17:43 -06:00
Jordan Harband 689c52c90d Install nvm-exec as well when installing via script.
Fixes #553.
2014-11-22 10:34:20 -08:00
Xavier Cambar 516e553093 Refactors NVM_SOURCE 2014-11-06 22:35:24 +01:00
Xavier Cambar b9f15b0ab0 Tests for PROFILE detection 2014-10-29 18:50:04 +01:00
Jordan Harband d30c0fe146 Cleaning up install_script tests. 2014-10-28 13:47:21 -07:00
Xavier Cambar 3cdec8e875 Testable install script
* wraps main code into a function
* EnvVar-based install start
* Clean environment after install
2014-10-28 11:44:01 +01:00