Commit Graph

575 Commits (7a423b7bb4314cb9000faecf7f60b04d632b2cb7)

Author SHA1 Message Date
Jordan Harband 3e5037a1be v0.10.0 2014-06-26 17:06:45 -07:00
Jordan Harband 60fec40613 Merge pull request #444 from creationix/fix_nvm_ls
Make sure `nvm ls foo` returns a nonzero exit code when a version is not found
2014-06-26 17:04:09 -07:00
Jordan Harband fb215546ee Don't bother trying to return the exit code of `nvm alias` or `nvm_print_versions` 2014-06-26 16:52:48 -07:00
Jordan Harband 4b593bcda2 Make sure these vars are local, where supported 2014-06-26 16:52:34 -07:00
Jordan Harband 8349f0ff48 Make sure `nvm ls foo` returns a nonzero exit code when a version is not found.
Fixes #440.
2014-06-26 10:28:35 -07:00
Jordan Harband bb250b5730 v0.9.0 2014-06-26 10:28:14 -07:00
Jordan Harband b6f1c156da Use printf instead of `echo -e`
Fixes #446
2014-06-26 10:26:57 -07:00
Jordan Harband 4c9a36e9ad Separating variable declaration from first assignment, which should fix some ksh problems. 2014-06-22 15:44:22 -07:00
Jordan Harband bb01513eba Making sure there's test coverage for `nvm i` 2014-06-22 09:18:41 -07:00
Jordan Harband ba7f27dead Silently support `nvm i x.x.x`. Fixes #443. 2014-06-22 09:16:30 -07:00
Jordan Harband 79ec957ee7 Removing reference to NVM_PROFILE in README. Fixes #442 2014-06-21 17:47:02 -07:00
Jordan Harband d8b55652a5 Return the exit code of `nvm use` when `nvm install`-ing. 2014-06-20 11:49:06 -07:00
Jordan Harband 4c38f507f5 Consistently returning exit code 1 when version is not installed yet. 2014-06-20 11:45:25 -07:00
Jordan Harband f213167ef0 Returning exit code 3 when no version is found. 2014-06-20 11:45:14 -07:00
Jordan Harband 1da31aa425 v0.8.0 2014-06-20 11:35:18 -07:00
Jordan Harband 519a9481e6 Merge pull request #438 from koenpunt/patch-2
Suppress output of `nvm use`
2014-06-18 00:08:06 -07:00
Koen Punt b16bf303ca Suppress output of `nvm use`
+redirect errors to stdout
2014-06-18 08:54:14 +02:00
Jordan Harband 9a28706688 Merge pull request #436 from koenpunt/stderr
redirect output of errors to stderr
2014-06-16 16:37:31 -07:00
Koen Punt a318ddf9b3 redirect stderr to stdout in test 2014-06-17 01:22:17 +02:00
Koen Punt 8dbbc32905 redirect errors to stderr 2014-06-17 01:22:12 +02:00
Jordan Harband de03007348 Merge pull request #432 from ajcrites/master
Only list extant explicit version
2014-06-12 11:55:56 -07:00
Andrew Crites 1b22c2e2b1 Including test for specific version listing
This fixes the issue of nvm ls v[:digit:].[:digit:].[:digit:] listing the version even if it isn't available
2014-06-12 14:01:26 -04:00
Andrew Crites 0e1f2408c9 Only list extant explicit version 2014-06-12 10:56:20 -04:00
Jordan Harband 931cc45fc3 Merge pull request #428 from koenpunt/export-nvm-dir-in-profile
export NVM_DIR in profile before sourcing nvm.sh
2014-05-29 16:04:25 -07:00
Jordan Harband 085e314a3f Adding a trailing newline 2014-05-28 20:54:25 -07:00
Jordan Harband 6aa45732d8 Merge pull request #376 from koenpunt/nvm-unload
Feature: nvm unload
2014-05-28 20:53:50 -07:00
Koen Punt 16c0be8314 export NVM_DIR before sourcing nvm.sh 2014-05-28 14:32:01 +02:00
Jordan Harband 578a601b27 Filter out of `nvm ls` things that start with a dot. Fixes #421, closes #422. 2014-05-20 10:36:12 -07:00
Jordan Harband 896aa7c436 Updating CONTRIBUTING guidelines
Fixes #425
2014-05-19 22:05:13 -07:00
Jordan Harband 2441b00262 Merge pull request #417 from koenpunt/travis_tweaks
Split tests by shell
2014-05-10 10:13:53 -07:00
Koen Punt 88595f09aa remove fast task 2014-05-10 19:03:50 +02:00
Koen Punt 5925bd5e37 make suite for shell task configurable 2014-05-10 18:59:34 +02:00
Koen Punt 24e22dd8bc no need for the extra task, every shell name is already a task 2014-05-10 12:27:11 +02:00
Koen Punt 61de5f9ca3 enable slow test suite for sh 2014-05-10 12:15:19 +02:00
Jordan Harband 4de9eff55c Merge pull request #416 from koenpunt/patch-2
Use correct variables
2014-05-09 10:49:43 -07:00
Koen Punt 7e20a77c89 pass env vars to makefile 2014-05-09 16:42:04 +02:00
Koen Punt 8fbbeb8fc5 ensure correct shell usage 2014-05-09 16:30:04 +02:00
Koen Punt 79203ba5d0 split tests by shell 2014-05-09 16:23:14 +02:00
Koen Punt 2e3e48cc06 Use correct variables 2014-05-09 15:36:44 +02:00
Jordan Harband db8acf11fd v0.7.0 2014-05-08 10:30:52 -07:00
Jordan Harband a6be718387 Fixing --version output format. 2014-05-08 10:30:34 -07:00
Jordan Harband e2c4c88136 Updating example node versions. 2014-05-08 10:30:18 -07:00
Jordan Harband 4cd0b078d0 Merge pull request #415 from koenpunt/fix-path-concat
utility method for append path, fixes #414
2014-05-08 10:27:17 -07:00
Koen Punt f6ba08253b utility method for append path, fixes #414 2014-05-08 10:20:11 +02:00
Jordan Harband 0ecb2879b9 Merge pull request #412 from koenpunt/fix-sed
Use sed -e instead of -E
2014-05-07 10:32:00 -07:00
Koen Punt e3b84499c2 use regex triplet, add unit test 2014-05-07 10:58:21 +02:00
Koen Punt b313f62749 Use sed -e instead of -E 2014-05-07 10:58:18 +02:00
Jordan Harband 7f3a794d89 Merge pull request #409 from koenpunt/sed-path-replacement
Use sed for *PATH stripping
2014-05-06 01:37:49 -07:00
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
Koen Punt 652a9ef9b5 always apply path stripping 2014-05-06 00:00:25 +02:00