Commit Graph

470 Commits (ba1be9b4eaa1429ef61735283398ad8ff2e6002b)

Author SHA1 Message Date
Jordan Harband ba1be9b4ea Making `nvm install` use the version, even if it's already installed. Fixes #410 2014-05-05 23:32:39 -07:00
Jordan Harband 29f582611b v0.6.1 2014-05-04 12:40:02 -07:00
Jordan Harband 673cda56c4 Adding a test for `nvm install invalid` behavior, and correcting the message.
From f00d688c87 (commitcomment-6205164)
2014-05-04 12:03:26 -07:00
Jordan Harband e562a5645b v0.6.0 2014-05-04 02:20:31 -07:00
Jordan Harband c0c5e8d7ef Editing README to note improved .nvmrc behavior. 2014-05-04 02:20:24 -07:00
Jordan Harband f00d688c87 Nicer failure message when trying to install an invalid version. Fixes #285. 2014-05-04 00:59:08 -07:00
Jordan Harband 5aa78f21cf Merge branch 'nvmrc' - Fixes #404 2014-05-04 00:47:16 -07:00
Jordan Harband 4a7275a0c6 Ensuring paths are in quotes, to preserve spaces. 2014-05-04 00:39:46 -07:00
Jordan Harband c77be55cdc Updating "nvm run" tests. 2014-05-04 00:39:32 -07:00
Jordan Harband e195fccdb7 Escaping backticks 2014-05-03 23:29:21 -07:00
Jordan Harband 87516039a8 Using portable conditional syntax. 2014-05-02 23:28:42 -07:00
Koen Punt 80e349edb1 locate .nvmrc without `find`
instead of using find and actually cd'ing into directories
we're now using simple string replacement on the `pwd`
2014-05-02 23:02:34 -07:00
Jordan Harband 038c1f3d0f Find `.nvmrc` files upwards. 2014-05-02 23:02:34 -07:00
Jordan Harband 66455f7c77 Refactor so "finding .nvmrc" can be done in a bash function. 2014-05-02 23:02:34 -07:00
Jordan Harband a69eae10e3 Merge pull request #405 from reqshark/master
github raw served from new subdomain
2014-04-26 10:03:41 -07:00
Bent Cardan 13b87449e8 github raw served from new subdomain 2014-04-26 03:48:06 -04:00
Jordan Harband 222250f2d1 v0.5.1 2014-04-25 10:47:59 -07:00
Jordan Harband 77f4490391 Using markdown footnotes. 2014-04-25 10:47:07 -07:00
Jordan Harband 0871131dfd Make sure nvm-exec can use .nvmrc logic. Fixes #402, obviates #403. 2014-04-25 10:38:21 -07:00
Jordan Harband e6bd207624 When auto-printing "help" on a command other than "help", return a nonzero exit code. 2014-04-25 10:35:52 -07:00
Jordan Harband bad79e6d77 v0.5.0 2014-04-20 00:36:12 -07:00
Jordan Harband d07fa2db10 Merge pull request #399 from creationix/run_use_nvmrc
Make sure `nvm run` works without a version argument when .nvmrc specifies a version
2014-04-20 00:35:59 -07:00
Jordan Harband 20953ab04c Make sure `nvm run` works without a version argument when .nvmrc specifies a version. 2014-04-20 00:28:07 -07:00
Jordan Harband 4cf940153c Use node 0.9 for these testsso that people aren't likely to have it installed 2014-04-19 23:41:36 -07:00
Jordan Harband 47bbf93f50 Travis CI defaults to ruby; c will be faster 2014-04-19 22:59:30 -07:00
Jordan Harband 7976a1343f Merge pull request #398 from creationix/install_use_nvmrc
`nvm install` and `nvm run` use .nvmrc when version not provided
2014-04-19 22:36:33 -07:00
Jordan Harband bf8abf1052 Make sure `nvm install` works without a version argument when .nvmrc specifies a version. 2014-04-19 17:07:00 -07:00
Jordan Harband eb6031cb58 Clean up after existing `nvm install` tests. 2014-04-19 17:00:06 -07:00
Jordan Harband 55a6f1f06e Organizing `nvm install` tests better. 2014-04-19 16:48:43 -07:00
Jordan Harband c188c1b11a Correcting help text for `nvm use` 2014-04-19 16:46:22 -07:00
Jordan Harband b15ea07067 Don't clobber the latest version of 0.10 for tests. 2014-04-19 16:46:17 -07:00
Jordan Harband 752c0e4ef1 Removing trailing whitespace. 2014-04-19 14:34:47 -07:00
Jordan Harband 49364532b3 Merge pull request #391 from koenpunt/patch-1
Link to latest version of install script (0.4.0)
2014-03-27 10:19:44 -07:00
Koen Punt 9157cb4cfe Link to latest version of install script (0.4.0) 2014-03-27 10:19:00 +01:00
Jordan Harband 6dde4aac38 v0.4.0 2014-03-26 21:31:48 -07:00
Jordan Harband 96635cd2bd Merge pull request #371 from koenpunt/single-installer
Merged installer and gitless installer into one
2014-03-26 21:30:00 -07:00
Koen Punt 5342b6a04c Emulate curl with wget 2014-03-26 11:14:09 +01:00
Koen Punt 2d0c025c49 Prevent fallback 2014-03-26 11:14:08 +01:00
Koen Punt 6ed93f4c01 Force install method by setting METHOD=git/script 2014-03-26 11:14:08 +01:00
Koen Punt 3c2719a85e fix 2014-03-26 11:14:08 +01:00
Koen Punt c47f03f996 Display error when unable to update 2014-03-26 11:11:26 +01:00
Koen Punt 300022642a git, curl and wget now all in one installer 2014-03-25 20:53:05 +01:00
Koen Punt bce3abaa4b use comparison opts 2014-03-25 20:52:30 +01:00
Koen Punt 9f6280265a updated README 2014-03-25 20:52:30 +01:00
Koen Punt 7211c9ee29 updated output without special characters (tab; \t)
Omit duplicate 'finish line'
normalized indentation
2014-03-25 20:51:39 +01:00
Koen Punt 246caa8581 Updated source string, use hard path as NVM is not always installed in `$HOME/.nvm` 2014-03-25 20:51:39 +01:00
Koen Punt 1fac49f887 replaced undocumented option for specifying the profile as first argument to specifying it as a environment variable (eg: PROFILE=~/.myprofile ./install-gitless.sh)
also; fixed indentation and added .zshrc as possible profile
2014-03-25 20:51:39 +01:00
Koen Punt d2422a623a made NVM_DIR and NVM_SOURCE configurable using environment variables 2014-03-25 20:51:39 +01:00
Koen Punt fcc00b22b7 don't make use of pushd and popd as they are not universal 2014-03-25 20:51:39 +01:00
Koen Punt 0787a55999 replaced fatalExit function for 'inline' exit
exit on errors (set -e)
simplified if for NVM_DIR and NVM_SOURCE, corrected indentation
2014-03-25 20:51:39 +01:00