Jordan Harband
|
273f9d497a
|
Adding unit tests for nvm_ls_current. Relates to #487.
|
2014-08-21 01:35:03 -07:00 |
|
Jordan Harband
|
5c7f08843d
|
Add error checking to nvm_tree_contains_path
|
2014-08-21 17:15:53 -07:00 |
|
Jordan Harband
|
6e6c5c4e2a
|
Removing an invalid option to touch from this test.
|
2014-08-21 17:19:43 -07:00 |
|
Jordan Harband
|
1c2c4788a2
|
Fixing nvm_version_greater tests.
Relates to #505, #506.
|
2014-08-21 23:42:51 -07:00 |
|
Jordan Harband
|
b59ecb9e11
|
Make sure the new versions directory is filtered out of nvm_ls output (in zsh).
|
2014-08-21 23:39:40 -07:00 |
|
Jordan Harband
|
7551746e55
|
Merge pull request #505 from magicdrive/fix-error_nvm_version_greater
Fixed `nvm_version_greater` has syntax error in zsh-builtin command `[`
|
2014-08-21 22:42:05 -07:00 |
|
Jordan Harband
|
70ac1e7fa4
|
Fix tests so that they fail in zsh (for #505)
|
2014-08-21 22:40:48 -07:00 |
|
Jordan Harband
|
1c85068091
|
Merge pull request #502 from creationix/nvm_version_path
Store versions 0.12.0 and newer in a `versions` subdirectory
|
2014-08-20 22:49:17 -07:00 |
|
Jordan Harband
|
42786630a1
|
Merge pull request #503 from egilkh/master
Should escape grep in copy-packages.
|
2014-08-20 10:03:57 -07:00 |
|
Jordan Harband
|
3747735980
|
Make sure nvm clear-cache clears the versions directory as well.
|
2014-08-20 00:50:15 -07:00 |
|
Jordan Harband
|
5dd2d7e5d4
|
Make nvm ls support listing the "versions" directory when it's present.
|
2014-08-20 00:42:50 -07:00 |
|
Jordan Harband
|
65c2435418
|
Making sure that versions are backed up when running tests.
|
2014-08-20 00:37:38 -07:00 |
|
Jordan Harband
|
0a695c5d2a
|
Modify nvm_version_path to use nvm_version_greater.
|
2014-08-20 00:18:29 -07:00 |
|
Jordan Harband
|
8fe677a644
|
Add nvm_version_greater
|
2014-08-20 00:01:06 -07:00 |
|
Jordan Harband
|
213ff003d0
|
Use nvm_version_path everywhere possible.
|
2014-08-19 16:17:18 -07:00 |
|
Jordan Harband
|
986abbf5db
|
Create nvm_version_path
|
2014-08-19 16:17:00 -07:00 |
|
Jordan Harband
|
a2da9abd6d
|
Use nvm_version_dir in nvm_version_path
|
2014-08-19 01:56:34 -07:00 |
|
Jordan Harband
|
9068dda110
|
Adding nvm_version_dir
|
2014-08-19 01:53:39 -07:00 |
|
Jordan Harband
|
6baa9a0918
|
Merge pull request #501 from creationix/fix_copy_packages
Fix nvm copy-packages
|
2014-08-16 02:35:15 -07:00 |
|
Jordan Harband
|
b8fe75e93a
|
Tests for nvm copy-packages
|
2014-08-16 01:58:39 -07:00 |
|
Jordan Harband
|
78a5e3fadf
|
Attempt to improve nvm copy-packages
|
2014-08-16 00:14:29 -07:00 |
|
Jordan Harband
|
5e54886cbc
|
Merge pull request #500 from creationix/run_slow_tests_on_all_shells
Run slow tests on all shells
|
2014-08-15 21:30:29 -07:00 |
|
Jordan Harband
|
d7849054f8
|
Apparently wget outputs to stderr, so let's make sure we're checking both stderr and stdout.
|
2014-08-15 20:47:55 -07:00 |
|
Jordan Harband
|
708ac80a55
|
Properly replace the -I curl option for the --server-response wget option.
|
2014-08-15 20:47:55 -07:00 |
|
Jordan Harband
|
d341d5e535
|
Run all slow tests on all shells
|
2014-08-08 12:16:22 -07:00 |
|
Jordan Harband
|
eef12cc2b3
|
v0.13.1
|
2014-08-08 11:48:54 -07:00 |
|
Jordan Harband
|
99c8b59a14
|
Make sure that $ARGS is evaluated natively rather than as a single string argument.
Fixes #494.
|
2014-08-08 11:48:38 -07:00 |
|
Jordan Harband
|
abdc3f3c21
|
Run all fast tests without curl.
|
2014-08-07 13:53:12 -07:00 |
|
Jordan Harband
|
401ac45568
|
Merge pull request #477 from koenpunt/without-curl
add test without curl
|
2014-08-07 13:52:06 -07:00 |
|
Jordan Harband
|
61709c1f97
|
v0.13.0
|
2014-08-02 19:24:39 -07:00 |
|
Jordan Harband
|
1a8479ed31
|
Merge pull request #491 from creationix/nvm_exec
Add `nvm exec` command.
|
2014-08-02 19:23:05 -07:00 |
|
Jordan Harband
|
a703d3591f
|
Tweaking the readme description
|
2014-08-02 19:22:53 -07:00 |
|
Jordan Harband
|
1fa2acf5a7
|
Adding nvm exec tests.
|
2014-08-02 15:43:04 -07:00 |
|
Jordan Harband
|
d5c0e94166
|
Adding nvm exec command.
|
2014-08-01 01:26:33 -07:00 |
|
Jordan Harband
|
6dc602b521
|
Ensure that nvm ls node doesn't return "node_modules", for example.
|
2014-08-01 01:24:28 -07:00 |
|
Jordan Harband
|
1d37af162a
|
v0.12.2
|
2014-07-29 00:35:27 -07:00 |
|
Jordan Harband
|
781373f7ce
|
Make sure awk is referenced unaliased, per https://github.com/creationix/nvm/issues/162#issuecomment-50284503
|
2014-07-27 23:02:22 -07:00 |
|
Jordan Harband
|
68574cc7e8
|
v0.12.1
|
2014-07-24 14:07:26 -07:00 |
|
Jordan Harband
|
0f3b06320e
|
Merge pull request #481 from johnloy/master
Changes $path var to $node_path. Fixes #482.
|
2014-07-24 14:07:05 -07:00 |
|
Jordan Harband
|
f5643dc7ea
|
v0.12.0
|
2014-07-23 01:15:14 -07:00 |
|
Jordan Harband
|
6bcac7f638
|
Merge pull request #480 from fjakobs/patch-1
install.sh: make sure to not error out if master branch does not exist
|
2014-07-23 01:14:41 -07:00 |
|
Jordan Harband
|
8cbf149558
|
Merge pull request #408 from creationix/nvm_system_awareness
Add `system` awareness to `nvm use`, `nvm ls`, and `nvm current`.
|
2014-07-21 22:55:27 -07:00 |
|
Jordan Harband
|
e7ada80d08
|
nvm use system should work as expected.
|
2014-07-21 02:03:18 -07:00 |
|
Jordan Harband
|
9912f7cc46
|
If nvm is deactivated, display "none" or "system" instead of the system node version
|
2014-07-21 02:03:18 -07:00 |
|
Jordan Harband
|
6e02e5a54c
|
If nvm_ls is called without a pattern, and node exists, tack on "system".
|
2014-07-21 02:03:18 -07:00 |
|
Jordan Harband
|
42b010775b
|
Add system support to nvm_print_versions
|
2014-07-21 02:03:18 -07:00 |
|
Jordan Harband
|
1c50c5c7aa
|
Add nvm_tree_contains_path function
|
2014-07-21 02:03:04 -07:00 |
|
Jordan Harband
|
200a9aa97e
|
v0.11.2
|
2014-07-20 23:58:19 -07:00 |
|
Jordan Harband
|
4512337c11
|
Adding a slow nvm current test, since it needs an installed version of node.
|
2014-07-20 23:41:11 -07:00 |
|
Jordan Harband
|
55677dba4a
|
Avoid calling "nvm_ls current" and call "nvm_ls_current" directly
|
2014-07-20 23:40:20 -07:00 |
|
Jordan Harband
|
ca43ca21f5
|
Fix curl/wget detection. Fixes #478
|
2014-07-18 13:18:09 -07:00 |
|
Jordan Harband
|
fafbeb8c59
|
Merge pull request #479 from koenpunt/fix-args-replacement
string replacement turns out not POSIX compliant
|
2014-07-18 13:15:13 -07:00 |
|
Jordan Harband
|
5ec0ccec1b
|
Fixing make release to also cover package.json.
Per https://github.com/creationix/nvm/commit/a3de7f322233ab2b17ad6a69ea56877e417057cd#commitcomment-7057689
|
2014-07-18 01:49:57 -07:00 |
|
Jordan Harband
|
7a423b7bb4
|
v0.11.1
|
2014-07-18 01:48:46 -07:00 |
|
Jordan Harband
|
a3de7f3222
|
Fixing make release - amending a tagged commit makes the commit not match the tag.
|
2014-07-17 00:25:14 -07:00 |
|
Jordan Harband
|
55d892adc8
|
Fix #476 by making sure to cd into $NVM_DIR before checking out the tag. Also delete the master branch, because we won't be needing that.
|
2014-07-17 00:20:33 -07:00 |
|
Jordan Harband
|
3b42df8d1d
|
Merge pull request #474 from mzgol/wget-hotfix
Hotfix: correctly map curl's `-C -` to wget
|
2014-07-16 10:16:18 -07:00 |
|
Jordan Harband
|
4895aebf0a
|
v0.11.0
|
2014-07-15 10:52:30 -07:00 |
|
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 |
|
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 |
|
Jordan Harband
|
78ff9a2215
|
Merge pull request #464 from koenpunt/release-task
add makefile release task
|
2014-07-10 12:14:23 -07: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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|