Commit Graph

2119 Commits (dde04f9392f9f0958d06608290f293c71d4119c8)

Author SHA1 Message Date
Jordan Harband 8a29122d0a Adding `teardown` to `test/fast/Listing versions/` 2014-07-15 02:01:01 -07:00
Jordan Harband 26ed7a003a Making sure to quote this output, so that paths with spaces don't break the method.
Although tests were passing in Travis for #470, they were failing locally - now they pass in both.
2014-07-15 02:00:48 -07:00
Jordan Harband 00ca5288b0 Merge pull request #470 from creationix/has_system_node
Adding nvm_has_system_node
2014-07-15 00:03:25 -07:00
Jordan Harband 6d2912a2ab Adding nvm_has_system_node 2014-07-14 21:41:26 -07:00
Jordan Harband 1d61584402 Making sure this test cleans up after itself. 2014-07-14 20:43:51 -07:00
Jordan Harband f6974744cd Moving this nvm ls test inside the "listing versions" test subdir. 2014-07-14 12:36:28 -07:00
Jordan Harband 7171cbed6f Add an `nvm_ls_current` function. 2014-07-14 11:29:24 -07:00
Jordan Harband 8f66273922 Merge pull request #467 from jsdevel/adding-current-symlink
Adding a symlink in .nvm to the current version.

Fixes #430. Closes #447. Relates to #358. Fixes #355. Closes #313. Fixes #381.
2014-07-13 11:23:27 -07:00
Jordan Harband 1a9ab82e24 Merge pull request #466 from creationix/nvm_ls_minor_versions
nvm_ls minor versions
2014-07-13 11:01:12 -07:00
jsdevel 3fa004293c Adding a symlink in .nvm to the current version. 2014-07-12 12:01:35 -07:00
Jordan Harband 83efa2288d Use [0-9] instead of [[:digit:]] per https://github.com/creationix/nvm/pull/466#discussion_r14853668 - it's simpler (and probably more portable). 2014-07-12 11:02:42 -07:00
Jordan Harband 4cfe62d3d1 Fixing `nvm ls 0.x` to only include `0.x.*` instead of `0.x*.*` 2014-07-12 11:02:42 -07:00
Jordan Harband 802f064178 Adding a failing test. 2014-07-12 11:02:14 -07:00
Jordan Harband c49cb68575 Merge pull request #468 from egilkh/master
Should escape grep in nvm_ls
2014-07-12 11:02:09 -07:00
egilkh 0534872e0f Should escape grep in nvm_ls 2014-07-12 19:33:28 +02:00
Olivier Mengué f1b8cf8fd6 Use 'read' built-in instead of $(cat ... | head -n1) 2014-07-10 12:15:27 -07:00
Jordan Harband 78ff9a2215 Merge pull request #464 from koenpunt/release-task
add makefile release task
2014-07-10 12:14:23 -07:00
Koen Punt b952be6f56 add makefile release task 2014-07-10 13:28:26 +02:00
Jordan Harband 638ae5c6fa Hardcode latest version number into the install script.
Fixes #462.
2014-07-10 01:24:12 -07:00
Jordan Harband a7b6495172 Removing unnecessary line, per #461 2014-07-10 01:24:12 -07:00
Jordan Harband 703e43cc2b Merge pull request #463 from mzgol/bash
Use bash, not sh for install scritps - followup to #450
2014-07-10 01:22:39 -07:00
Michał Gołębiowski 03636878d1 Use bash, not sh for install scritps - followup to #450 2014-07-10 10:21:03 +02:00
Jordan Harband 2ee4b6f414 Correcting nvm.sh comment wrt bash 2014-07-09 18:30:52 -07:00
Jordan Harband 10305f0791 Merge pull request #460 from koenpunt/patch-1
Finalize fix for #458
2014-07-08 10:26:24 -07:00
Koen Punt 276c031c60 Finalize fix for #458 2014-07-08 14:49:24 +02:00
Jordan Harband 63f72b37df Followup per https://github.com/creationix/nvm/pull/452#issuecomment-48151847 2014-07-07 15:40:59 -07:00
Jordan Harband cf5bfecec4 Merge pull request #452 from creationix/curl_wget_handling
Better combo curl/wget handling
2014-07-07 15:03:31 -07:00
Jordan Harband 77c3f20956 Merge pull request #459 from koenpunt/curl_wget_handling
fix nvm_curl arguments for stdout
2014-07-07 14:28:37 -07:00
Jordan Harband e4ada9fa43 Revert part of the change from e0537ce3df, fixes #458 2014-07-07 14:22:49 -07:00
Koen Punt a0de15d0f7 fix nvm_curl arguments for stdout 2014-07-07 23:16:20 +02:00
Jordan Harband df4689fbd2 Removing an extra "echo" 2014-07-07 13:59:58 -07:00
Jordan Harband 018e47bec0 Make sure both wget and curl work. 2014-07-07 13:32:10 -07:00
Jordan Harband 74cc1eb022 Make `nvm_curl` do a runtime check if `curl` is available. 2014-07-07 13:32:10 -07:00
Jordan Harband eda8ffbcc4 Add some more curl → wget argument munging 2014-07-07 13:32:10 -07:00
Jordan Harband b9383c9016 Use `nvm_curl` instead of `curl` directly, which has a `wget` fallback. 2014-07-07 13:32:10 -07:00
Jordan Harband 25c0be1e20 Using an `nvm_curl` function instead of `curl`/`wget` directly. 2014-07-07 13:32:10 -07:00
Jordan Harband a8233eb68c Merge pull request #457 from koenpunt/patch-1
Add newline to printf command
2014-07-07 13:02:23 -07:00
Koen Punt ea198c9a19 add newline to printf 2014-07-07 14:43:02 +02:00
Jordan Harband e0537ce3df Shellcheck recommendations. 2014-07-05 13:48:23 -07:00
Jordan Harband cce5df35ba Naming `install.sh` functions more explicitly as being for `nvm`. 2014-07-05 13:44:00 -07:00
Jordan Harband 7e269961c3 In `install.sh`, rename `has` to `nvm_has` for consistency with `nvm.sh`. 2014-07-05 13:42:44 -07:00
Jordan Harband f214ffaf1f Oxford comma 2014-07-05 11:07:14 -07:00
Jordan Harband d016fe010a Merge pull request #450 from mzgol/install-script
Use bash, not sh for install scritps
2014-07-03 00:50:31 -07:00
Michał Gołębiowski fb5a51b1b7 Use bash, not sh for install scritps
Install scripts don't work in pure sh; they may work on some systems where
the /bin/sh binary actually implements more than the pure Bourne Shell but
fail on other ones (e.g. Ubuntu).

Just using bash works.
2014-07-02 14:58:56 +02:00
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